[latexila/gnome-3-24] Revert "DocumentsPanel: destroy tab"



commit c117d8ed66f08a71162fa709b34f48b42c96c1ff
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Jun 23 18:25:58 2017 +0200

    Revert "DocumentsPanel: destroy tab"
    
    This reverts commit cf118d05741565b1f543bf6430a1aa6ce53683d1.
    
    Destroying the tab also destroys the DocumentView. But for the
    DocumentsMoveToNewWindow GtkAction, the DocumentView must not be
    destroyed.

 src/documents_panel.vala |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/documents_panel.vala b/src/documents_panel.vala
index beea438..28dcf83 100644
--- a/src/documents_panel.vala
+++ b/src/documents_panel.vala
@@ -77,7 +77,6 @@ public class DocumentsPanel : Notebook
 
         int pos = page_num (tab);
         remove_page (pos);
-        tab.destroy ();
     }
 
     public void remove_all_tabs ()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]