gdbus-codegen: Use (skip) annotation on return values

This was discussed in bug 649657.

https://bugzilla.gnome.org/show_bug.cgi?id=649657

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen 2011-05-13 14:23:14 -04:00
parent 4a7a1bc437
commit ae10eca116

View File

@ -1268,7 +1268,7 @@ class CodeGenerator:
' *\n'
' * Finishes an operation started with %s_call_%s().\n'
' *\n'
' * Returns: %%TRUE if the call succeded, %%FALSE if @error is set.\n'
' * Returns: (skip): %%TRUE if the call succeded, %%FALSE if @error is set.\n'
%(i.name_lower, m.name_lower, i.name_lower, m.name_lower)))
self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
self.c.write('gboolean\n'
@ -1316,7 +1316,7 @@ class CodeGenerator:
' *\n'
' * See %s_call_%s() for the asynchronous version of this method.\n'
' *\n'
' * Returns: %%TRUE if the call succeded, %%FALSE if @error is set.\n'
' * Returns: (skip): %%TRUE if the call succeded, %%FALSE if @error is set.\n'
%(i.name, m.name, i.name_lower, m.name_lower)))
self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
self.c.write('gboolean\n'