mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-19 12:11:57 +02:00
gdbus-codegen: post-process all interfaces when parsing >1 file
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>
This commit is contained in:
parent
dbfb56bda9
commit
a020fbf8f6
@ -174,7 +174,7 @@ def codegen_main():
|
|||||||
if opts.annotate != None:
|
if opts.annotate != None:
|
||||||
apply_annotations(all_ifaces, opts.annotate)
|
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)
|
i.post_process(opts.interface_prefix, opts.c_namespace)
|
||||||
|
|
||||||
docbook = opts.generate_docbook
|
docbook = opts.generate_docbook
|
||||||
|
Loading…
x
Reference in New Issue
Block a user