summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitem.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-08-07 14:21:47 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-08-07 14:21:47 +0000
commit81934ca8c6fc1827ff260428216823a3f8dd0461 (patch)
treefa63ee87b4d90c09082234738fa2121db432cff3 /gtk/gtktoolitem.c
parent8371b465dc0919aadb99cf2aeae5623c65ebaa92 (diff)
downloadgtk+-81934ca8c6fc1827ff260428216823a3f8dd0461.tar.gz
gtk/gtkactiongroup.c gtk/gtkcellrendererspin.c gtk/gtkfilechooserbutton.c
2008-08-07 Michael Natterer <mitch@imendio.com> * gtk/gtkactiongroup.c * gtk/gtkcellrendererspin.c * gtk/gtkfilechooserbutton.c * gtk/gtktoolitem.c: chain up unconditionally in finalize(). svn path=/trunk/; revision=21036
Diffstat (limited to 'gtk/gtktoolitem.c')
-rw-r--r--gtk/gtktoolitem.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index f21b316a75..4409ae06d8 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -284,12 +284,11 @@ gtk_tool_item_finalize (GObject *object)
GtkToolItem *item = GTK_TOOL_ITEM (object);
g_free (item->priv->menu_item_id);
-
+
if (item->priv->menu_item)
g_object_unref (item->priv->menu_item);
-
- if (G_OBJECT_CLASS (gtk_tool_item_parent_class)->finalize)
- G_OBJECT_CLASS (gtk_tool_item_parent_class)->finalize (object);
+
+ G_OBJECT_CLASS (gtk_tool_item_parent_class)->finalize (object);
}
static void