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:
c291192
)
src/Palete/Gtk.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 10:04:36 +0000
(18:04 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 10:04:36 +0000
(18:04 +0800)
src/Palete/Gtk.vala
patch
|
blob
|
history
diff --git
a/src/Palete/Gtk.vala
b/src/Palete/Gtk.vala
index
a4e2913
..
ff37be2
100644
(file)
--- a/
src/Palete/Gtk.vala
+++ b/
src/Palete/Gtk.vala
@@
-257,8
+257,18
@@
namespace Palete {
if (key.up() == "BOOL" || key.up() == "BOOLEAN") {
opts = { "true", "false" };
return true;
- }
- return false;
+ }
+ var gir= Gir.factoryFqn(key) ;
+ if (gir == null) {
+ print("could not find Gir data for %s\n", key);
+ return false;
+ }
+
+
+
+
+
+ return false;
}