[latexila/wip/gtef] Document: do not override get_modified()



commit 10f26492f16463f5253b0aa14ddd1de111f03bce
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Oct 22 09:57:36 2016 +0200

    Document: do not override get_modified()
    
    When new_file is true, base.get_modified() is always false.

 src/document.vala |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/document.vala b/src/document.vala
index 45b37fe..905de9f 100644
--- a/src/document.vala
+++ b/src/document.vala
@@ -58,14 +58,6 @@ public class Document : Gtef.Buffer
         });
     }
 
-    public new bool get_modified ()
-    {
-        if (new_file)
-            return false;
-
-        return base.get_modified ();
-    }
-
     public new void insert (ref TextIter iter, string text, int len)
     {
         Gtk.SourceCompletion completion = tab.view.completion;


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