Monitor.vala
authorAlan Knowles <alan@akbkhome.com>
Thu, 1 May 2014 14:37:30 +0000 (22:37 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 1 May 2014 14:37:30 +0000 (22:37 +0800)
Monitor.vala

index 7fe1c3c..de7382b 100644 (file)
@@ -67,8 +67,8 @@ public class Monitor : Object
     {
        
      
-        this.monitors = new ArrayList<FileMonitor> ();
-        this.top = new ArrayList<string> ();
+        this.monitors = new Array<FileMonitor> ();
+        this.top = new Array<string> ();
         this.paused = false;
     }
      
@@ -103,7 +103,7 @@ public class Monitor : Object
         for(int i = 0; i < this.monitors.size ; i++) {
             this.monitors[i].cancel();
         } 
-        this.monitors = new ArrayList<FileMonitor>(); // clean /destroy/ kill old?
+        this.monitors = new Array<FileMonitor>(); // clean /destroy/ kill old?
     }
     /**
      * pause monitoring - without changing what's monitored