[glib] GBusNameOwnerFlags: Note equivalence with D-Bus Specification
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GBusNameOwnerFlags: Note equivalence with D-Bus Specification
- Date: Mon, 7 Aug 2017 16:32:00 +0000 (UTC)
commit 92f1ba200d48bceec10a9be8f0262c57f7375d02
Author: Simon McVittie <smcv collabora com>
Date: Mon Jun 19 12:36:11 2017 +0100
GBusNameOwnerFlags: Note equivalence with D-Bus Specification
The implementation passes flags through directly to the RequestName()
call, so if any new values break that equivalence, the implementation
will have to be changed.
Signed-off-by: Simon McVittie <smcv collabora com>
https://bugzilla.gnome.org/show_bug.cgi?id=784392
gio/gioenums.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/gioenums.h b/gio/gioenums.h
index c33b391..535eb62 100644
--- a/gio/gioenums.h
+++ b/gio/gioenums.h
@@ -963,6 +963,8 @@ typedef enum
G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT = (1<<0), /*< nick=allow-replacement >*/
G_BUS_NAME_OWNER_FLAGS_REPLACE = (1<<1) /*< nick=replace >*/
} GBusNameOwnerFlags;
+/* When adding new flags, their numeric values must currently match those
+ * used in the D-Bus Specification. */
/**
* GBusNameWatcherFlags:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]