summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaffith <[email protected]>2019-05-26 23:48:23 -0400
committerlukefromdc <[email protected]>2019-05-29 21:53:32 +0000
commit13e8f1928947c240031c6f9ab2190caca984d514 (patch)
treed1abaec7863d5a3502245f59871462e72ab6a8e7
parent832d511e9de7f7f36bcbf4b53572ed0031f1c68d (diff)
downloadeom-13e8f1928947c240031c6f9ab2190caca984d514.tar.bz2
eom-13e8f1928947c240031c6f9ab2190caca984d514.tar.xz
Unref GtkUIManager so "Open with" menu is freed.
-rw-r--r--src/eom-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 5e9109d..fa47096 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -945,6 +945,7 @@ eom_window_update_openwith_menu (EomWindow *window, EomImage *image)
if (priv->actions_open_with != NULL) {
gtk_ui_manager_remove_action_group (priv->ui_mgr, priv->actions_open_with);
+ g_object_unref (priv->actions_open_with);
priv->actions_open_with = NULL;
}