[latexila] Latexila: little code clean-up



commit 789c5180d9485cf1e22e7d74868a33edc0e1941f
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Wed Aug 1 16:40:51 2012 +0200

    Latexila: little code clean-up
    
    Remove unused public function.

 src/latexila.vala |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/latexila.vala b/src/latexila.vala
index 320620a..43fcad8 100644
--- a/src/latexila.vala
+++ b/src/latexila.vala
@@ -72,7 +72,7 @@ public class Latexila : Gtk.Application
         new_document_action.activate.connect (() =>
         {
             hold ();
-            create_document ();
+            active_window.create_tab (true);
             release ();
         });
 
@@ -215,11 +215,6 @@ public class Latexila : Gtk.Application
         return window;
     }
 
-    public void create_document ()
-    {
-        active_window.create_tab (true);
-    }
-
     public void open_documents (File[] files)
     {
         bool jump_to = true;



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