projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfb56b
)
gdbus-codegen: post-process all interfaces when parsing >1 file
author
Will Thompson
<will.thompson@collabora.co.uk>
Thu, 1 Sep 2011 18:28:57 +0000
(14:28 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Thu, 1 Sep 2011 18:28:57 +0000
(14:28 -0400)
This also fixes a crash when you run gdbus-codegen with no arguments.
https://bugzilla.gnome.org/show_bug.cgi?id=656323
Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbus-2.0/codegen/codegen_main.py
patch
|
blob
|
history
diff --git
a/gio/gdbus-2.0/codegen/codegen_main.py
b/gio/gdbus-2.0/codegen/codegen_main.py
index
067ac5e
..
76c838c
100755
(executable)
--- a/
gio/gdbus-2.0/codegen/codegen_main.py
+++ b/
gio/gdbus-2.0/codegen/codegen_main.py
@@
-174,7
+174,7
@@
def codegen_main():
if opts.annotate != None:
apply_annotations(all_ifaces, opts.annotate)
- for i in
parsed
_ifaces:
+ for i in
all
_ifaces:
i.post_process(opts.interface_prefix, opts.c_namespace)
docbook = opts.generate_docbook