[Xfce4-commits] <midori:master> Properly disconnect add-tab on destruction in adblock

Christian Dywan noreply at xfce.org
Wed Jun 30 22:44:01 CEST 2010


Updating branch refs/heads/master
         to a04bf24b5ef4efc2df0a89b856d4d0e66b19785d (commit)
       from 07053d49a019b1d6446fe384140bbef29776e536 (commit)

commit a04bf24b5ef4efc2df0a89b856d4d0e66b19785d
Author: Alexander Butenko <a.butenka at gmail.com>
Date:   Wed Jun 30 16:31:10 2010 -0400

    Properly disconnect add-tab on destruction in adblock

 extensions/adblock.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/extensions/adblock.c b/extensions/adblock.c
index 372d13a..46a244a 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);



More information about the Xfce4-commits mailing list