[gnome-latex: 2/2] Document: remove workaround for valac bug



commit af508d78bb7f1fa6eaf8b88367adae16dd302f7e
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Dec 6 14:49:10 2019 +0100

    Document: remove workaround for valac bug
    
    It seems to be fixed now.

 src/document.vala | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/document.vala b/src/document.vala
index a678b28..6fd564e 100644
--- a/src/document.vala
+++ b/src/document.vala
@@ -34,11 +34,6 @@ public class Document : Tepl.Buffer
 
     public Document ()
     {
-        // FIXME properly: horrible hack, keep the Document objects alive, to
-        // avoid a crash on application shutdown:
-        // https://gitlab.gnome.org/GNOME/gnome-latex/issues/57
-        this.ref ();
-
         // syntax highlighting: LaTeX by default
         var lm = Gtk.SourceLanguageManager.get_default ();
         set_language (lm.get_language ("latex"));


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