summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaffith <[email protected]>2019-05-26 23:48:23 -0400
committerraveit65 <[email protected]>2019-06-06 17:00:08 +0200
commit26ea72be8f234dfcb689a9db13d6dab27fcc6662 (patch)
tree40df2057e99d5220b899ebf50898deea978d438f
parent3e6e139fb6eab0f9f9437ddd9f33cea7e0700ac7 (diff)
downloadeom-26ea72be8f234dfcb689a9db13d6dab27fcc6662.tar.bz2
eom-26ea72be8f234dfcb689a9db13d6dab27fcc6662.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;
}