Disconnect tab callback when disabling Colorful Tabs

This commit is contained in:
Samuel Creshal 2010-03-03 23:32:00 +01:00 committed by Christian Dywan
parent baef8d1283
commit 8f23dcfd33

View 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;