summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-04-12 11:46:52 +0200
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-12 12:51:37 +0100
commit114a16ba3f91dfa700770ec817ff3f8b4061e0a7 (patch)
treeba18c54deb5e5ea1fcaee1b0cac4ab7981dee770 /tools
parente2b5e25a33edc03682b61b307d640dfbf3b72e6c (diff)
downloadtelepathy-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.py1
-rw-r--r--tools/glib-gtypes-generator.py2
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')