summaryrefslogtreecommitdiff
path: root/giscanner/scannermain.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/scannermain.py')
-rwxr-xr-xgiscanner/scannermain.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
index ccd828da..3d402fac 100755
--- a/giscanner/scannermain.py
+++ b/giscanner/scannermain.py
@@ -194,8 +194,7 @@ def passthrough_gir(path, f):
parser.parse(path)
writer = GIRWriter(parser.get_namespace(),
- parser.get_pkgconfig_packages(),
- parser.get_c_includes())
+ parser.get_pkgconfig_packages())
f.write(writer.get_xml())
def test_codegen(optstring):
@@ -473,8 +472,9 @@ def scanner_main(args):
else:
exported_packages = options.packages
+ transformer.namespace.c_includes = options.c_includes
writer = Writer(transformer.namespace,
- exported_packages, options.c_includes)
+ exported_packages)
data = writer.get_xml()
write_output(data, options)