From 26ae04d0bc55dc0f49c18d684644b6c46f67c956 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 22 Jul 2003 11:41:04 +0000 Subject: *** empty log message *** --- lib/egg/eggtoolbutton.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib') diff --git a/lib/egg/eggtoolbutton.c b/lib/egg/eggtoolbutton.c index 6f827e576..4b786db3c 100644 --- a/lib/egg/eggtoolbutton.c +++ b/lib/egg/eggtoolbutton.c @@ -513,6 +513,15 @@ egg_tool_button_finalize (GObject *object) g_free (button->stock_id); button->stock_id = NULL; + g_free (button->label_text); + button->label_text = NULL; + + if (button->label_widget) + g_object_unref (G_OBJECT (button->label_widget)); + + if (button->icon_widget) + g_object_unref (G_OBJECT (button->icon_widget)); + parent_class->finalize (object); } -- cgit v1.2.3