projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b144c
)
src/Palete/GirObject.vala
wip_alan_T7280_Property_lists_tidy_up
origin/wip_alan_T7280_Property_lists_tidy_up
author
Alan
<alan@roojs.com>
Tue, 28 Jun 2022 09:10:01 +0000
(17:10 +0800)
committer
Alan
<alan@roojs.com>
Tue, 28 Jun 2022 09:10:01 +0000
(17:10 +0800)
src/Palete/GirObject.vala
patch
|
blob
|
history
diff --git
a/src/Palete/GirObject.vala
b/src/Palete/GirObject.vala
index
d95bdbf
..
0554592
100644
(file)
--- a/
src/Palete/GirObject.vala
+++ b/
src/Palete/GirObject.vala
@@
-447,7
+447,7
@@
namespace Palete {
// does not handle Enums... - no need to handle anything else.
var def = this.type.contains(".") ? "" : Gir.guessDefaultValueForType(this.type);
- if (this.type.contains(".")) {
+ if (this.type.contains(".")
|| this.type.down() == "function"
) {
return new JsRender.NodeProp.raw(this.name, this.type, def);
}