diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/c-constants-gen.py | 1 | ||||
-rw-r--r-- | tools/glib-gtypes-generator.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/c-constants-gen.py b/tools/c-constants-gen.py index bc0484973..0bcaaf4fb 100644 --- a/tools/c-constants-gen.py +++ b/tools/c-constants-gen.py @@ -67,7 +67,6 @@ extern "C" { flags.getAttribute('name') self.d("""\ /** - * %s: """ % (self.prefix + name).replace('_', '')) for flag in get_by_path(flags, 'flag'): diff --git a/tools/glib-gtypes-generator.py b/tools/glib-gtypes-generator.py index e5e62904a..21dfc6aa7 100644 --- a/tools/glib-gtypes-generator.py +++ b/tools/glib-gtypes-generator.py @@ -91,7 +91,7 @@ class GTypesGenerator(object): docstring = get_docstring(mapping) or '(Undocumented)' - self.d('/**\n * %s:\n *\n' % name) + self.d('/**\n * %s:\n *\n' % name.strip()) self.d(' * %s\n' % xml_escape(docstring)) self.d(' *\n') self.d(' * This macro expands to a call to a function\n') |