aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-arrow-toolbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/ephy-arrow-toolbutton.c')
-rw-r--r--lib/widgets/ephy-arrow-toolbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/widgets/ephy-arrow-toolbutton.c b/lib/widgets/ephy-arrow-toolbutton.c
index 0aa905efa..3273ce8f0 100644
--- a/lib/widgets/ephy-arrow-toolbutton.c
+++ b/lib/widgets/ephy-arrow-toolbutton.c
@@ -257,7 +257,7 @@ ephy_arrow_toolbutton_finalize (GObject *object)
{
EphyArrowToolButton *arrow_toolbutton = EPHY_ARROW_TOOLBUTTON (object);
- gtk_widget_destroy (GTK_WIDGET (arrow_toolbutton->priv->menu));
+ g_object_unref (arrow_toolbutton->priv->menu);
G_OBJECT_CLASS (parent_class)->finalize (object);
}