docs: Move the GDBusMethodInvocation SECTION

Move it to the struct docs.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>

Helps: #3037
This commit is contained in:
Philip Withnall 2023-10-25 13:09:52 +01:00
parent 70c66766f7
commit 264ebbbb2b

View File

@ -40,17 +40,18 @@
#include "glibintl.h" #include "glibintl.h"
/** /**
* SECTION:gdbusmethodinvocation * GDBusMethodInvocation:
* @short_description: Object for handling remote calls
* @include: gio/gio.h
* *
* Instances of the #GDBusMethodInvocation class are used when * Instances of the `GDBusMethodInvocation` class are used when
* handling D-Bus method calls. It provides a way to asynchronously * handling D-Bus method calls. It provides a way to asynchronously
* return results and errors. * return results and errors.
* *
* The normal way to obtain a #GDBusMethodInvocation object is to receive * The normal way to obtain a `GDBusMethodInvocation` object is to receive
* it as an argument to the handle_method_call() function in a * it as an argument to the `handle_method_call()` function in a
* #GDBusInterfaceVTable that was passed to g_dbus_connection_register_object(). * [type@Gio.DBusInterfaceVTable] that was passed to
* [method@Gio.DBusConnection.register_object].
*
* Since: 2.26
*/ */
typedef struct _GDBusMethodInvocationClass GDBusMethodInvocationClass; typedef struct _GDBusMethodInvocationClass GDBusMethodInvocationClass;
@ -68,14 +69,6 @@ struct _GDBusMethodInvocationClass
GObjectClass parent_class; GObjectClass parent_class;
}; };
/**
* GDBusMethodInvocation:
*
* The #GDBusMethodInvocation structure contains only private data and
* should only be accessed using the provided API.
*
* Since: 2.26
*/
struct _GDBusMethodInvocation struct _GDBusMethodInvocation
{ {
/*< private >*/ /*< private >*/