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

index 2ac9bd5..6c5c6a1 100644 (file)
@@ -96,7 +96,7 @@ public class Monitor : Object
      */
     public void start()
     {
-        for(int i = 0; i < this.monitors.length ; i++) {
+        for(int i = 0; i < this.top.length ; i++) {
             this.monitor(this.top.index(i), ( fm,  f_orig,  of_orig,  event_type) => {
                 this.onEvent (fm,  f_orig,  of_orig,  event_type ) ;
                 } );