src/Project/Gtk.vala
authorAlan Knowles <alan@roojs.com>
Tue, 26 May 2015 05:40:12 +0000 (13:40 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 May 2015 05:40:12 +0000 (13:40 +0800)
src/Project/Gtk.vala

index 3e521b6..a23b0e7 100644 (file)
@@ -220,10 +220,14 @@ namespace Project {
                                        ret.add( fn);
                                        continue;
                                }
+                               if (!Regex.match_simple("\\.vala\\.c$", fn)) {
+                                       continue;
+                               }
                                // not a c file...
-                               if (Regex.match_simple("\\.c$", fn)) {
+                               if (!Regex.match_simple("\\.c$", fn)) {
                                        continue;
                                }
+                               
                                // got a file that is not 
                                
                                var vv = fn;