]> spindle.queued.net Git - midori/commitdiff
Fix removal of tabs from Tab Panel treeview
authorChristian Dywan <christian@twotoasts.de>
Tue, 5 Oct 2010 19:31:37 +0000 (21:31 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 5 Oct 2010 19:43:34 +0000 (21:43 +0200)
extensions/tab-panel.c

index 95e7c535e746d83933498f450834cc11a33d910c..8f26596549f594a26d75b28e642f684833a88f2e 100644 (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);
 }