GDBusInterfaceStub: Clarify ::g-authorize-method docs
authorDavid Zeuthen <davidz@redhat.com>
Wed, 13 Apr 2011 20:39:50 +0000 (16:39 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 13 Apr 2011 20:39:50 +0000 (16:39 -0400)
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
gio/gdbusobjectskeleton.c

index 2f3860c..811fe2b 100644 (file)
@@ -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()).
    *
index 3362846..134003f 100644 (file)
@@ -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