Use gsize instead of unsigned and gulong instead of long, fixes complation

* gtk/gtkbuilder.c (gtk_builder_add_from_file): 
    (gtk_builder_value_from_string_type): 
    Use gsize instead of unsigned and gulong instead of long,
    fixes complation on OSX, fixes #447987


svn path=/trunk/; revision=18146
This commit is contained in:
Johan Dahlin 2007-06-15 19:21:43 +00:00
parent 4e1ac87bf7
commit 5d9a26c775
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2007-06-15 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbuilder.c (gtk_builder_add_from_file):
(gtk_builder_value_from_string_type):
Use gsize instead of unsigned and gulong instead of long,
fixes complation on OSX, fixes #447987
2007-06-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenushell.[ch]: add move_selected signal to allow

View File

@ -600,7 +600,7 @@ gtk_builder_add_from_file (GtkBuilder *builder,
GError **error)
{
char *buffer;
unsigned length;
gsize length;
GError *tmp_error;
g_return_val_if_fail (GTK_IS_BUILDER (builder), 0);
@ -1020,7 +1020,7 @@ gtk_builder_value_from_string_type (GType type,
case G_TYPE_UINT:
case G_TYPE_ULONG:
{
ulong ul;
gulong ul;
errno = 0;
ul = strtoul (string, NULL, 0);
if (errno)