[latexila] MainWindow: fix error with Gee.LinkedList type



commit e347b5eeea5ae096b147c77d62ca2293b5ca6be1
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Oct 21 20:00:46 2016 +0200

    MainWindow: fix error with Gee.LinkedList type
    
    Vala or Gee now detects the error. It worked before because in C it's
    probably just gpointer's that are stored in the list.

 src/main_window.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main_window.vala b/src/main_window.vala
index d6b87aa..5cde312 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -604,7 +604,7 @@ public class MainWindow : ApplicationWindow
 
     public Gee.List<DocumentView> get_views ()
     {
-        Gee.List<DocumentView> all_views = new Gee.LinkedList<Document> ();
+        Gee.List<DocumentView> all_views = new Gee.LinkedList<DocumentView> ();
 
         if (_documents_panel == null)
             return all_views;


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