summaryrefslogtreecommitdiff
path: root/tools/glib-client-gen.py
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-01-09 17:46:46 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-01-09 17:46:46 +0000
commit557bc7215d41d5944fd26dc6ecd02b6c62a898f9 (patch)
treee147ff257e49d84a77d215097b8986c12d62c913 /tools/glib-client-gen.py
parent629dff50c2788621e612caa4d8189a548bbf0459 (diff)
Fix documentation for *_run_* methods
Diffstat (limited to 'tools/glib-client-gen.py')
-rw-r--r--tools/glib-client-gen.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/glib-client-gen.py b/tools/glib-client-gen.py
index b43cf0be8..0d85033b4 100644
--- a/tools/glib-client-gen.py
+++ b/tools/glib-client-gen.py
@@ -944,8 +944,11 @@ class Generator(object):
self.b(' * @error: Used to return errors if %FALSE is returned')
self.b(' *')
- self.b(' * Call the method %s and block, without' % member)
- self.b(' * re-entering the main loop, until it returns.')
+ self.b(' * Call the method %s and run the main loop' % member)
+ self.b(' * until it returns. Before calling this method, you must')
+ self.b(' * add a reference to any borrowed objects you need to keep,')
+ self.b(' * and generally ensure that everything is in a consistent')
+ self.b(' * state.')
self.b(' *')
self.b(' * <![CDATA[%s]]>'
% (get_docstring(method) or '(Undocumented)'))