[glib/gdbus-codegen] GDBusInterfaceStub: Clarify ::g-authorize-method docs
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/gdbus-codegen] GDBusInterfaceStub: Clarify ::g-authorize-method docs
- Date: Wed, 13 Apr 2011 20:40:42 +0000 (UTC)
commit 8826ad046d3dfa1a0fbaca1cab1086d12f31d0a5
Author: David Zeuthen <davidz redhat com>
Date: Wed Apr 13 16:39:50 2011 -0400
GDBusInterfaceStub: Clarify ::g-authorize-method docs
As suggested by Simon in https://bugzilla.gnome.org/show_bug.cgi?id=647577#c11
Signed-off-by: David Zeuthen <davidz redhat com>
gio/gdbusinterfaceskeleton.c | 2 +-
gio/gdbusobjectskeleton.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gdbusinterfaceskeleton.c b/gio/gdbusinterfaceskeleton.c
index 2f3860c..811fe2b 100644
--- a/gio/gdbusinterfaceskeleton.c
+++ b/gio/gdbusinterfaceskeleton.c
@@ -184,7 +184,7 @@ g_dbus_interface_skeleton_class_init (GDBusInterfaceSkeletonClass *klass)
* url="http://hal.freedesktop.org/docs/polkit/PolkitAuthority.html#POLKIT-CHECK-AUTHORIZATION-FLAGS-ALLOW-USER-INTERACTION:CAPS">POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION</ulink> flag set.
*
* If %FALSE is returned then no further handlers are run and the
- * signal handler must take ownership of @invocation and finish
+ * signal handler must take a reference to @invocation and finish
* handling the call (e.g. return an error via
* g_dbus_method_invocation_return_error()).
*
diff --git a/gio/gdbusobjectskeleton.c b/gio/gdbusobjectskeleton.c
index 3362846..134003f 100644
--- a/gio/gdbusobjectskeleton.c
+++ b/gio/gdbusobjectskeleton.c
@@ -164,7 +164,7 @@ g_dbus_object_skeleton_class_init (GDBusObjectSkeletonClass *klass)
/**
* GDBusObjectSkeleton::authorize-method:
* @object: The #GDBusObjectSkeleton emitting the signal.
- * @interface: The #GDBusInterfaceSkeleton that @invocation is on.
+ * @interface: The #GDBusInterfaceSkeleton that @invocation is for.
* @invocation: A #GDBusMethodInvocation.
*
* Emitted when a method is invoked by a remote caller and used to
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]