aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-topic-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-topic-action.c')
-rw-r--r--src/bookmarks/ephy-topic-action.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index a09fd35ee..9bed16852 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -296,6 +296,13 @@ button_deactivate_cb (GtkMenuShell *ms,
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), FALSE);
gtk_button_released (GTK_BUTTON (button));
+
+ /*
+ Currently, GObject leaks connection IDs created with
+ g_signal_connect_object ()
+ See glib bug #118536
+ */
+ g_signal_handlers_disconnect_by_func(ms, button_deactivate_cb, button);
}
static void