From a04bf24b5ef4efc2df0a89b856d4d0e66b19785d Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Wed, 30 Jun 2010 16:31:10 -0400 Subject: [PATCH] Properly disconnect add-tab on destruction in adblock --- extensions/adblock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/adblock.c b/extensions/adblock.c index 372d13ad..46a244a0 100644 --- a/extensions/adblock.c +++ b/extensions/adblock.c @@ -1349,6 +1349,8 @@ adblock_deactivate_cb (MidoriExtension* extension, extension, adblock_deactivate_cb, browser); g_signal_handlers_disconnect_by_func ( app, adblock_app_add_browser_cb, extension); + g_signal_handlers_disconnect_by_func ( + browser, adblock_add_tab_cb, extension); midori_browser_foreach (browser, (GtkCallback)adblock_deactivate_tabs, browser); katze_assign (blockcss, NULL); -- 2.39.5