]> spindle.queued.net Git - midori/commitdiff
Disconnect tab callback when disabling Colorful Tabs
authorSamuel Creshal <creshal@arcor.de>
Wed, 3 Mar 2010 22:32:00 +0000 (23:32 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 4 Mar 2010 01:08:49 +0000 (02:08 +0100)
extensions/colorful-tabs.c

index f000639661520027b59a44e8cfe7a2f8e044bd15..01a0bd7b82637e53254f4ab1653d380d46a6b370 100644 (file)
@@ -79,6 +79,8 @@ colorful_tabs_deactivate_cb (MidoriExtension* extension,
 
     g_signal_handlers_disconnect_by_func (
         app, colorful_tabs_app_add_browser_cb, extension);
+    g_signal_handlers_disconnect_by_func (
+        browser, colorful_tabs_browser_add_tab_cb, extension);
     g_signal_handlers_disconnect_by_func (
         extension, colorful_tabs_deactivate_cb, browser);
     i = 0;