mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 21:40:19 +00:00
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:
parent
4e1ac87bf7
commit
5d9a26c775
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user