diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 61ababa5..c50606e5 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -4009,8 +4009,9 @@ gtk_notebook_switch_page_cb (GtkWidget* notebook, gtk_window_set_title (GTK_WINDOW (browser), window_title); g_free (window_title); - katze_item_set_meta_integer (KATZE_ITEM (browser->proxy_array), "current", - midori_browser_get_current_page (browser)); + if (browser->proxy_array) + katze_item_set_meta_integer (KATZE_ITEM (browser->proxy_array), "current", + midori_browser_get_current_page (browser)); g_object_notify (G_OBJECT (browser), "uri"); _midori_browser_set_statusbar_text (browser, NULL);