projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3b2976
)
Remove tabs, fixes make check
author
Johan Dahlin
<jdahlin@litl.com>
Fri, 8 Jan 2010 19:08:44 +0000
(17:08 -0200)
committer
Johan Dahlin
<johan@gnome.org>
Fri, 8 Jan 2010 19:08:44 +0000
(17:08 -0200)
giscanner/dumper.py
patch
|
blob
|
history
diff --git
a/giscanner/dumper.py
b/giscanner/dumper.py
index
430f81e
..
460054c
100644
(file)
--- a/
giscanner/dumper.py
+++ b/
giscanner/dumper.py
@@
-96,8
+96,8
@@
class DumpCompiler(object):
# Public API
def run(self):
# Public API
def run(self):
- tpl_args = {}
- tpl_args['init_sections'] = "\n".join(self._options.init_sections)
+
tpl_args = {}
+
tpl_args['init_sections'] = "\n".join(self._options.init_sections)
c_path = self._generate_tempfile('.c')
f = open(c_path, 'w')
c_path = self._generate_tempfile('.c')
f = open(c_path, 'w')
@@
-153,8
+153,8
@@
class DumpCompiler(object):
def _compile(self, output, *sources):
# Not strictly speaking correct, but easier than parsing shell
args = self._compiler_cmd.split()
def _compile(self, output, *sources):
# Not strictly speaking correct, but easier than parsing shell
args = self._compiler_cmd.split()
- # Do not add -Wall when using init code as we do not include any
- # header of the library being introspected
+
# Do not add -Wall when using init code as we do not include any
+
# header of the library being introspected
if self._compiler_cmd == 'gcc' and not self._options.init_sections:
args.append('-Wall')
pkgconfig_flags = self._run_pkgconfig('--cflags')
if self._compiler_cmd == 'gcc' and not self._options.init_sections:
args.append('-Wall')
pkgconfig_flags = self._run_pkgconfig('--cflags')