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

index 56f92cf..f1c067c 100644 (file)
@@ -237,7 +237,7 @@ public class Monitor : Object
         MonitorNamePathDir src = new MonitorNamePathDir( f.get_basename(), f.get_path() , Path.get_dirname(f.get_path()));
         MonitorNamePathDir dest = null;
         
-        if (of) {
+        if (of != null) {
             dest = new MonitorNamePathDir( of.get_basename(), of.get_path(),  Path.get_dirname(of.get_path()));
             
         }