projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1eb2d3d
)
src/Project/Gtk.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 26 May 2015 06:06:55 +0000
(14:06 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 26 May 2015 06:06:55 +0000
(14:06 +0800)
src/Project/Gtk.vala
patch
|
blob
|
history
diff --git
a/src/Project/Gtk.vala
b/src/Project/Gtk.vala
index
5e0061f
..
c222a45
100644
(file)
--- a/
src/Project/Gtk.vala
+++ b/
src/Project/Gtk.vala
@@
-193,10
+193,12
@@
namespace Project {
while ((next_file = file_enum.next_file(null)) != null) {
var fn = next_file.get_display_name();
while ((next_file = file_enum.next_file(null)) != null) {
var fn = next_file.get_display_name();
- GLib.debug("SCAN ADD %s - checking %s\n", dirname, fn);
+
if (!GLib.FileUtils.test(in_path + "/" + fn, GLib.FileTest.IS_REGULAR)) {
if (!GLib.FileUtils.test(in_path + "/" + fn, GLib.FileTest.IS_REGULAR)) {
+ GLib.debug("SKIP %s not regular %s", fn);
continue;
}
continue;
}
+ GLib.debug("SCAN ADD %s ", fn);
ret.add(in_path + "/" + fn);
// any other valid types???
ret.add(in_path + "/" + fn);
// any other valid types???
@@
-324,6
+326,7
@@
namespace Project {
// add the 'c' file..
ret.add(fn);
} catch (Error e) {
// add the 'c' file..
ret.add(fn);
} catch (Error e) {
+ GLib.debug("Exception %s",e.message);
continue;
}
}
continue;
}
}