Disconnect tabs_minimized_add_tab_cb when deactivating
This commit is contained in:
parent
91ed4b7bc8
commit
09af931756
1 changed files with 8 additions and 1 deletions
|
@ -17,6 +17,11 @@ tabs_minimized_app_add_browser_cb (MidoriApp* app,
|
|||
MidoriBrowser* browser,
|
||||
MidoriExtension* extension);
|
||||
|
||||
static void
|
||||
tabs_minimized_add_tab_cb (MidoriBrowser* browser,
|
||||
MidoriView* tab,
|
||||
MidoriExtension* extension);
|
||||
|
||||
static void
|
||||
tabs_minimized_deactivate_cb (MidoriExtension* extension,
|
||||
MidoriBrowser* browser)
|
||||
|
@ -27,10 +32,12 @@ tabs_minimized_deactivate_cb (MidoriExtension* extension,
|
|||
extension, tabs_minimized_deactivate_cb, browser);
|
||||
g_signal_handlers_disconnect_by_func (
|
||||
app, tabs_minimized_app_add_browser_cb, extension);
|
||||
g_signal_handlers_disconnect_by_func (
|
||||
browser, tabs_minimized_add_tab_cb, extension);
|
||||
}
|
||||
|
||||
static void
|
||||
tabs_minimized_add_tab_cb (MidoriApp* app,
|
||||
tabs_minimized_add_tab_cb (MidoriBrowser* browser,
|
||||
MidoriView* tab,
|
||||
MidoriExtension* extension)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue