Commit 98c4b12e authored by Matthias Clasen's avatar Matthias Clasen

Fix a finalizer issue

svn path=/trunk/; revision=19275
parent c30e1d8e
2007-12-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
accel_group unless it is set.
2007-12-28 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
......
......@@ -514,7 +514,9 @@ gtk_item_factory_finalize (GObject *object)
ifactory = GTK_ITEM_FACTORY (object);
g_object_unref (ifactory->accel_group);
if (ifactory->accel_group)
g_object_unref (ifactory->accel_group);
g_free (ifactory->path);
g_assert (ifactory->widget == NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment