mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-30 19:06:38 +02:00
[kdbus] Add G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE flag
New flag is equivalent to DBUS_NAME_FLAG_DO_NOT_QUEUE flag from dbus-1 specification [1]. [1] http://dbus.freedesktop.org/doc/dbus-specification.html Change-Id: I8a50aa586abd5b0ffcbc0bdc41c2e98c18a2e18a
This commit is contained in:
committed by
Ryan Lortie
parent
293d7ae07a
commit
f85bce5b98
@@ -935,6 +935,7 @@ typedef enum
|
||||
* @G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: Allow another message bus connection to claim the name.
|
||||
* @G_BUS_NAME_OWNER_FLAGS_REPLACE: If another message bus connection owns the name and have
|
||||
* specified #G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, then take the name from the other connection.
|
||||
* @G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: Do not place message bus connection in a queue to own the name.
|
||||
*
|
||||
* Flags used in g_bus_own_name().
|
||||
*
|
||||
@@ -944,7 +945,8 @@ typedef enum
|
||||
{
|
||||
G_BUS_NAME_OWNER_FLAGS_NONE = 0, /*< nick=none >*/
|
||||
G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT = (1<<0), /*< nick=allow-replacement >*/
|
||||
G_BUS_NAME_OWNER_FLAGS_REPLACE = (1<<1) /*< nick=replace >*/
|
||||
G_BUS_NAME_OWNER_FLAGS_REPLACE = (1<<1), /*< nick=replace >*/
|
||||
G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE = (1<<2) /*< nick=do-not-queue >*/
|
||||
} GBusNameOwnerFlags;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user