mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Shut up warning about calling gtk_object_get_type() having no effect
This commit is contained in:
parent
9389d53504
commit
9c151ba3e1
@ -125,6 +125,8 @@ gtk_type_init (GTypeDebugFlags debug_flags)
|
|||||||
|
|
||||||
if (!initialized)
|
if (!initialized)
|
||||||
{
|
{
|
||||||
|
GType unused;
|
||||||
|
|
||||||
initialized = TRUE;
|
initialized = TRUE;
|
||||||
|
|
||||||
/* initialize GLib type system
|
/* initialize GLib type system
|
||||||
@ -133,7 +135,7 @@ gtk_type_init (GTypeDebugFlags debug_flags)
|
|||||||
|
|
||||||
/* GTK_TYPE_OBJECT
|
/* GTK_TYPE_OBJECT
|
||||||
*/
|
*/
|
||||||
gtk_object_get_type ();
|
unused = gtk_object_get_type ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user