[gobject-introspection] Revert "scanner: Include all headers when building the dumper binary"



commit d27ff4659789d701bcc79a5ae713e445d0d7f9d8
Author: Colin Walters <walters verbum org>
Date:   Tue Jan 11 10:46:01 2011 -0500

    Revert "scanner: Include all headers when building the dumper binary"
    
    This reverts commit bedd7dd61508684b78bd1e95fed8025d48661b48.

 giscanner/dumper.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index fcc0002..d9c5289 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)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]