9c3ca0aa8b
... in the FD.o notification backend https://bugzilla.redhat.com/show_bug.cgi?id=1584916 https://gitlab.gnome.org/GNOME/glib/merge_requests/90 https://gitlab.gnome.org/GNOME/glib/merge_requests/102
14 lines
544 B
Diff
14 lines
544 B
Diff
diff --git a/gio/gdbus-2.0/codegen/codegen_main.py b/gio/gdbus-2.0/codegen/codegen_main.py
|
|
index 9d9099f..1cfe7c1 100755
|
|
--- a/gio/gdbus-2.0/codegen/codegen_main.py
|
|
+++ b/gio/gdbus-2.0/codegen/codegen_main.py
|
|
@@ -209,7 +209,7 @@ def codegen_main():
|
|
print_error('Using --body requires --output')
|
|
|
|
c_file = args.output
|
|
- header_name = os.path.splitext(c_file)[0] + '.h'
|
|
+ header_name = os.path.splitext(os.path.basename(c_file))[0] + '.h'
|
|
|
|
all_ifaces = []
|
|
for fname in args.files + args.xml_files:
|