diff options
author | Tim Janik <timj@gtk.org> | 2001-11-26 09:18:55 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2001-11-26 09:18:55 +0000 |
commit | 5c2f442088c65a67534e22a3ef7016bed7b7fd9b (patch) | |
tree | 317d854e86e08bfd863cc036d0db89f66f47bd69 /gobject/gsignal.c | |
parent | a8a91e438f47b1cc259ade4903a1aad91382b8b2 (diff) |
typedef GType to gulong instead of gsize, if possible.
Mon Nov 26 09:55:12 2001 Tim Janik <timj@gtk.org>
* gtype.h: typedef GType to gulong instead of gsize, if possible.
* gtype.c: fixups for GType being sizeof(long) wide (changed
UINT casts).
* gsignal.c:
* gclosure.c:
* gparam.c: likewise.
Diffstat (limited to 'gobject/gsignal.c')
-rw-r--r-- | gobject/gsignal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/gsignal.c b/gobject/gsignal.c index fdd8437f1..7394de1ea 100644 --- a/gobject/gsignal.c +++ b/gobject/gsignal.c @@ -947,7 +947,7 @@ g_signal_lookup (const gchar *name, { /* give elaborate warnings */ if (!g_type_name (itype)) - g_warning (G_STRLOC ": unable to lookup signal \"%s\" for invalid type id `%u'", + g_warning (G_STRLOC ": unable to lookup signal \"%s\" for invalid type id `%lu'", name, itype); else if (!G_TYPE_IS_INSTANTIATABLE (itype)) g_warning (G_STRLOC ": unable to lookup signal \"%s\" for non instantiatable type `%s'", @@ -994,7 +994,7 @@ g_signal_list_ids (GType itype, { /* give elaborate warnings */ if (!g_type_name (itype)) - g_warning (G_STRLOC ": unable to list signals for invalid type id `%u'", + g_warning (G_STRLOC ": unable to list signals for invalid type id `%lu'", itype); else if (!G_TYPE_IS_INSTANTIATABLE (itype)) g_warning (G_STRLOC ": unable to list signals of non instantiatable type `%s'", |