midori_browser_set_current_page (browser, n);
}
-static void
-midori_browser_notebook_tab_removed_cb (GtkWidget* notebook,
- GraniteWidgetsTab* tab,
- MidoriBrowser* browser)
-{
- _midori_browser_remove_tab (browser, granite_widgets_tab_get_page (tab));
-}
-
static void
midori_browser_notebook_tab_switched_cb (GtkWidget* notebook,
GraniteWidgetsTab* old_tab,
g_signal_connect (browser->notebook, "tab-added",
G_CALLBACK (midori_browser_notebook_tab_added_cb),
browser);
- g_signal_connect (browser->notebook, "tab-removed",
- G_CALLBACK (midori_browser_notebook_tab_removed_cb),
- browser);
g_signal_connect (browser->notebook, "tab-switched",
G_CALLBACK (midori_browser_notebook_tab_switched_cb),
browser);