aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-22 19:41:04 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-22 19:41:04 +0800
commit26ae04d0bc55dc0f49c18d684644b6c46f67c956 (patch)
treebacb322306178a0c266e97d8127973fde354f5bf /lib
parent3f20a12f34b826ae8b49980188a4894dfc8bffc1 (diff)
downloadgsoc2013-epiphany-26ae04d0bc55dc0f49c18d684644b6c46f67c956.tar
gsoc2013-epiphany-26ae04d0bc55dc0f49c18d684644b6c46f67c956.tar.gz
gsoc2013-epiphany-26ae04d0bc55dc0f49c18d684644b6c46f67c956.tar.bz2
gsoc2013-epiphany-26ae04d0bc55dc0f49c18d684644b6c46f67c956.tar.lz
gsoc2013-epiphany-26ae04d0bc55dc0f49c18d684644b6c46f67c956.tar.xz
gsoc2013-epiphany-26ae04d0bc55dc0f49c18d684644b6c46f67c956.tar.zst
gsoc2013-epiphany-26ae04d0bc55dc0f49c18d684644b6c46f67c956.zip
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/egg/eggtoolbutton.c9
1 files changed, 9 insertions, 0 deletions
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);
}