removed some unused variables
* gdk/gdkrgb.c: removed some unused variables * gtk/gtkclist.c * gtk/gtkmain.c: #if 0'd out some unused code * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug -Yosh
This commit is contained in:
@ -105,7 +105,8 @@ gtk_object_debug_foreach (gpointer key, gpointer value, gpointer user_data)
|
||||
static void
|
||||
gtk_object_debug (void)
|
||||
{
|
||||
g_hash_table_foreach (living_objs_ht, gtk_object_debug_foreach, NULL);
|
||||
if (living_objs_ht)
|
||||
g_hash_table_foreach (living_objs_ht, gtk_object_debug_foreach, NULL);
|
||||
|
||||
g_message ("living objects count = %d", obj_count);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user