Shut up warning about calling gtk_object_get_type() having no effect

This commit is contained in:
Michael Natterer 2009-08-18 12:10:03 +02:00
parent 9389d53504
commit 9c151ba3e1

View File

@ -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 ();
} }
} }