From 0377fe7005d95afcbefd067d566fe558030485ab Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Mon, 25 Apr 2011 10:42:50 -0400 Subject: [PATCH] gdbus-codegen: Fix typo in generated docs Signed-off-by: David Zeuthen --- gio/gdbus-codegen/codegen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gdbus-codegen/codegen.py b/gio/gdbus-codegen/codegen.py index d60c6325d..b088511aa 100644 --- a/gio/gdbus-codegen/codegen.py +++ b/gio/gdbus-codegen/codegen.py @@ -2374,7 +2374,7 @@ class CodeGenerator: ' * Gets the #%s instance for the D-Bus interface #%s on @object, if any.\n' ' *\n' ' * Returns: (transfer full): A #%s that must be freed with g_object_unref() or %%NULL if @object does not implement the interface.\n' - %(self.ns_lower, i.name_upper.lower(), i.camel_name, i.camel_name, i.name, i.camel_name))) + %(self.ns_lower, i.name_upper.lower(), self.namespace, i.camel_name, i.name, i.camel_name))) self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0) self.c.write ('%s *%sobject_get_%s (%sObject *object)\n' %(i.camel_name, self.ns_lower, i.name_upper.lower(), self.namespace)) @@ -2399,7 +2399,7 @@ class CodeGenerator: ' * It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.\n' ' *\n' ' * Returns: (transfer none): A #%s or %%NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object.\n' - %(self.ns_lower, i.name_upper.lower(), i.camel_name, self.ns_lower, i.name_upper.lower(), i.camel_name))) + %(self.ns_lower, i.name_upper.lower(), self.namespace, self.ns_lower, i.name_upper.lower(), i.camel_name))) self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0) self.c.write ('%s *%sobject_peek_%s (%sObject *object)\n' %(i.camel_name, self.ns_lower, i.name_upper.lower(), self.namespace))