diff options
author | Stef Walter <stefw@gnome.org> | 2012-04-12 11:46:52 +0200 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-04-12 12:51:37 +0100 |
commit | 114a16ba3f91dfa700770ec817ff3f8b4061e0a7 (patch) | |
tree | ba18c54deb5e5ea1fcaee1b0cac4ab7981dee770 /tools | |
parent | e2b5e25a33edc03682b61b307d640dfbf3b72e6c (diff) | |
download | telepathy-glib-114a16ba3f91dfa700770ec817ff3f8b4061e0a7.tar.gz |
Fix doc comments for recent stricter gtk-doc
* Build fails with new gtk-doc (1.18.1) which seems to
be stricter than previous versions.
[Also fixes g-ir-scanner warnings, which were what was actually fatal. -smcv]
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48592
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
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') |