From: Samuel Creshal Date: Wed, 3 Mar 2010 22:32:00 +0000 (+0100) Subject: Disconnect tab callback when disabling Colorful Tabs X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f23dcfd33fc63357480904539b086def3bcdf91;p=midori Disconnect tab callback when disabling Colorful Tabs --- diff --git a/extensions/colorful-tabs.c b/extensions/colorful-tabs.c index f0006396..01a0bd7b 100644 --- a/extensions/colorful-tabs.c +++ b/extensions/colorful-tabs.c @@ -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;