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:
b0b3a3d
)
src/Palete/Gtk.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 10:15:18 +0000
(18:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 10:15:18 +0000
(18:15 +0800)
src/Palete/Gtk.vala
patch
|
blob
|
history
diff --git
a/src/Palete/Gtk.vala
b/src/Palete/Gtk.vala
index
625a18a
..
5cbd1b2
100644
(file)
--- a/
src/Palete/Gtk.vala
+++ b/
src/Palete/Gtk.vala
@@
-267,12
+267,14
@@
namespace Palete {
if (gir.nodetype != "Enum") {
return false;
}
+ string[] ret = {};
var iter = gir.consts.map_iterator();
while(iter.next()) {
-
-
opts += (key + "." + iter.get_value().name)
;
+ var nval = key + "." + iter.get_value().name;
+
ret += nval
;
}
if (opts.length > 0) {
+ opts = ret;
return true;
}