Commit 71d2b68d authored by Pavel Vasin's avatar Pavel Vasin Committed by Cosimo Cecchi

GtkMenuItem: fix leaked action_helper

parent de5bfaab
......@@ -604,6 +604,8 @@ gtk_menu_item_dispose (GObject *object)
GtkMenuItem *menu_item = GTK_MENU_ITEM (object);
GtkMenuItemPrivate *priv = menu_item->priv;
g_clear_object (&priv->action_helper);
if (priv->action)
gtk_action_disconnect_accelerator (priv->action);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment