Fix removal of tabs from Tab Panel treeview

This commit is contained in:
Christian Dywan 2010-10-05 21:31:37 +02:00
parent dec42c00a8
commit 2cf3c2f5b0

View file

@ -462,7 +462,7 @@ tab_panel_browser_remove_tab_cb (MidoriBrowser* browser,
{
gboolean minimized = katze_object_get_boolean (view, "minimized");
if (g_object_get_data (G_OBJECT (browser), "midori-browser-destroyed"))
if (!g_object_get_data (G_OBJECT (browser), "midori-browser-destroyed"))
tab_panel_remove_view (browser, view, minimized);
}