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

index adad048..8931342 100644 (file)
@@ -164,12 +164,12 @@ public class Monitor : Object
          
             //print("got a file " + next_file.sudo () + '?=' + Gio.FileType.DIRECTORY);
             
-            if (next_file.get_file_type() != FILETYPE_DIRECTORY) {
+            if (next_file.get_file_type() != FileType.DIRECTORY) {
                 next_file = null;
                 continue;
             }
             
-            if (next_file.get_file_type() == FILETYPE_SYMBOLIC_LINK) {
+            if (next_file.get_file_type() ==FileType.SYMBOLIC_LINK) {
                 next_file = null;
                 continue;
             }