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:
9c4fb08
)
src/Palete/Gtk.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 10:09:54 +0000
(18:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 10:09:54 +0000
(18:09 +0800)
src/Palete/Gtk.vala
patch
|
blob
|
history
diff --git
a/src/Palete/Gtk.vala
b/src/Palete/Gtk.vala
index
2e59c3d
..
9366d89
100644
(file)
--- a/
src/Palete/Gtk.vala
+++ b/
src/Palete/Gtk.vala
@@
-265,13
+265,17
@@
namespace Palete {
}
print ("Got type %s", gir.asJSONString());
if (gir.nodetype != "Enum") {
- return;
+ return false;
+ }
+ var iter = gir.consts.map_iterator();
+ while(iter.next()) {
+
+ opts += (key + "." + iter.get_key());
+ }
+ if (opts.length) {
+ return true;
}
-
-
-
-
return false;