Monitor.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 28 Dec 2013 22:13:21 +0000 (06:13 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 28 Dec 2013 22:13:21 +0000 (06:13 +0800)
Monitor.vala

index 408559f..61a19c4 100644 (file)
@@ -84,7 +84,7 @@ public class Monitor : Object
     public void start()
     {
         for(int i = 0; i < this.monitors.size ; i++) {
-            this.monitor(this.top[i], "" , 0);
+            this.monitor(this.top[i]);
         }
     }
     /**
@@ -120,7 +120,7 @@ public class Monitor : Object
      * 
      * 
      */
-    public void monitor(string path, Callback fn, int depth)
+    public void monitor(string path, Callback fn = null, int depth = 0)
     {
          
        // print("ADD: " + path)