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:
5d5ae8a
)
Palete/Gir.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 3 Jun 2014 15:47:49 +0000
(23:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 3 Jun 2014 15:47:49 +0000
(23:47 +0800)
Palete/Gir.vala
patch
|
blob
|
history
diff --git
a/Palete/Gir.vala
b/Palete/Gir.vala
index
2aaf380
..
43e6a35
100644
(file)
--- a/
Palete/Gir.vala
+++ b/
Palete/Gir.vala
@@
-4,7
+4,9
@@
public static int main (string[] args) {
var g = new Palete.Gir("/usr/share/gir-1.0/Gtk-3.0.gir");
var generator = new Json.Generator ();
- generator.set_root(g.toJSON());
+ var n = new Json.Node();
+ n.init_object(g.toJSON());
+ generator.set_root(n);
generator.indent = 4;
generator.pretty = true;