aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--help/nl/epiphany-nl.omf2
-rw-r--r--lib/egg/eggtoolbutton.c9
2 files changed, 10 insertions, 1 deletions
diff --git a/help/nl/epiphany-nl.omf b/help/nl/epiphany-nl.omf
index 6b0d67a09..56ee39a35 100644
--- a/help/nl/epiphany-nl.omf
+++ b/help/nl/epiphany-nl.omf
@@ -26,7 +26,7 @@
</type>
<format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.1.2//EN"/>
<identifier url="epiphany.xml"/>
- <language code="C"/>
+ <language code="nl"/>
<relation seriesid="48206048-5ef3-11d7-85db-fe5f992e5b79"/>
<rights type="GNU FDL" license.version="1.1" holder="Patanjali Somayaji"/>
</resource>
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);
}