mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-16 18:51:58 +02:00
Fix compiler warning in format string check.
* gobject/gsignal.c: Fix compiler warning in format string check. svn path=/trunk/; revision=7084
This commit is contained in:
parent
356fe46531
commit
fa7a7b3e0d
@ -1,3 +1,8 @@
|
||||
2008-06-22 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gobject/gsignal.c:
|
||||
Fix compiler warning in format string check.
|
||||
|
||||
2008-06-22 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* docs/reference/gobject/tmpl/signals.sgml:
|
||||
|
@ -1143,7 +1143,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 `%lu'",
|
||||
g_warning (G_STRLOC ": unable to lookup signal \"%s\" for invalid type id `%"G_GSIZE_FORMAT"'",
|
||||
name, itype);
|
||||
else if (!G_TYPE_IS_INSTANTIATABLE (itype))
|
||||
g_warning (G_STRLOC ": unable to lookup signal \"%s\" for non instantiatable type `%s'",
|
||||
@ -1201,7 +1201,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 `%lu'",
|
||||
g_warning (G_STRLOC ": unable to list signals for invalid type id `%"G_GSIZE_FORMAT"'",
|
||||
itype);
|
||||
else if (!G_TYPE_IS_INSTANTIATABLE (itype) && !G_TYPE_IS_INTERFACE (itype))
|
||||
g_warning (G_STRLOC ": unable to list signals of non instantiatable type `%s'",
|
||||
|
Loading…
x
Reference in New Issue
Block a user