From 8f23dcfd33fc63357480904539b086def3bcdf91 Mon Sep 17 00:00:00 2001 From: Samuel Creshal Date: Wed, 3 Mar 2010 23:32:00 +0100 Subject: [PATCH] Disconnect tab callback when disabling Colorful Tabs --- extensions/colorful-tabs.c | 2 ++ 1 file changed, 2 insertions(+) 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;