[latexila/wip/use-tepl-tab] Revert "DocumentsPanel: destroy tab"



commit 93d5a96844e460ca6c57d8e61810b6c6ce3c3e50
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]