[glib/wip/kdbus-junk: 16/37] [kdbus] Add G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE flag
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/kdbus-junk: 16/37] [kdbus] Add G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE flag
- Date: Wed, 10 Dec 2014 15:58:33 +0000 (UTC)
commit f85bce5b98b0e4005293ff1e1c20225ad6c57d07
Author: Lukasz Skalski <l skalski samsung com>
Date: Wed Oct 22 10:40:55 2014 +0000
[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 files changed, 3 insertions(+), 1 deletions(-)
---
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;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]