summaryrefslogtreecommitdiff
path: root/giscanner/dumper.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-01-11 10:46:01 -0500
committerColin Walters <walters@verbum.org>2011-01-11 10:46:01 -0500
commitd27ff4659789d701bcc79a5ae713e445d0d7f9d8 (patch)
tree12471bdaff95f033235dac16ae73cc9d002f297e /giscanner/dumper.py
parent24d9f132340a18ca4368aede3367f5b917747acc (diff)
downloadgobject-introspection-d27ff4659789d701bcc79a5ae713e445d0d7f9d8.tar.gz
Revert "scanner: Include all headers when building the dumper binary"
This reverts commit bedd7dd61508684b78bd1e95fed8025d48661b48.
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r--giscanner/dumper.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index fcc00026..d9c52890 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -37,8 +37,6 @@ _PROGRAM_TEMPLATE = """/* This file is generated, do not edit */
#include <string.h>
#include <stdlib.h>
-%(c_include)s
-
%(gdump_include)s
int
@@ -109,7 +107,6 @@ class DumpCompiler(object):
gdump_file = open(gdump_path)
gdump_contents = gdump_file.read()
gdump_file.close()
- tpl_args['c_include'] = "\n".join("#include <%s>" % i for i in self._options.c_includes)
tpl_args['gdump_include'] = gdump_contents
tpl_args['init_sections'] = "\n".join(self._options.init_sections)