Properly disconnect add-tab on destruction in adblock
This commit is contained in:
parent
07053d49a0
commit
a04bf24b5e
1 changed files with 2 additions and 0 deletions
|
@ -1349,6 +1349,8 @@ adblock_deactivate_cb (MidoriExtension* extension,
|
||||||
extension, adblock_deactivate_cb, browser);
|
extension, adblock_deactivate_cb, browser);
|
||||||
g_signal_handlers_disconnect_by_func (
|
g_signal_handlers_disconnect_by_func (
|
||||||
app, adblock_app_add_browser_cb, extension);
|
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);
|
midori_browser_foreach (browser, (GtkCallback)adblock_deactivate_tabs, browser);
|
||||||
|
|
||||||
katze_assign (blockcss, NULL);
|
katze_assign (blockcss, NULL);
|
||||||
|
|
Loading…
Reference in a new issue