mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
GDBus: Use call() instead of invoke_method()
Lots of people been suggesting this. We still use MethodInvocation / method_invocation for handling incoming method calls so use call() instead of invoke_method() helps to separate the client and server facilities. Which is a good thing(tm).
This commit is contained in:
@@ -994,20 +994,20 @@ typedef enum {
|
||||
} GDBusCapabilityFlags;
|
||||
|
||||
/**
|
||||
* GDBusInvokeMethodFlags:
|
||||
* @G_DBUS_INVOKE_METHOD_FLAGS_NONE: No flags set.
|
||||
* @G_DBUS_INVOKE_METHOD_FLAGS_NO_AUTO_START: The bus must not launch
|
||||
* GDBusCallFlags:
|
||||
* @G_DBUS_CALL_FLAGS_NONE: No flags set.
|
||||
* @G_DBUS_CALL_FLAGS_NO_AUTO_START: The bus must not launch
|
||||
* an owner for the destination name in response to this method
|
||||
* invocation.
|
||||
*
|
||||
* Flags used in g_dbus_connection_invoke_method() and similar APIs.
|
||||
* Flags used in g_dbus_connection_call() and similar APIs.
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
typedef enum {
|
||||
G_DBUS_INVOKE_METHOD_FLAGS_NONE = 0,
|
||||
G_DBUS_INVOKE_METHOD_FLAGS_NO_AUTO_START = (1<<0),
|
||||
} GDBusInvokeMethodFlags;
|
||||
G_DBUS_CALL_FLAGS_NONE = 0,
|
||||
G_DBUS_CALL_FLAGS_NO_AUTO_START = (1<<0),
|
||||
} GDBusCallFlags;
|
||||
|
||||
/**
|
||||
* GDBusMessageType:
|
||||
|
Reference in New Issue
Block a user