From 459fee5e64d03de3f0660d529949a55f1de6b6fe Mon Sep 17 00:00:00 2001 From: Lukasz Skalski Date: Wed, 22 Oct 2014 10:40:55 +0000 Subject: [PATCH] [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 --- gio/gioenums.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gio/gioenums.h b/gio/gioenums.h index 407f50f..1d4c7c2 100644 --- a/gio/gioenums.h +++ b/gio/gioenums.h @@ -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; /** -- 2.7.4