From 92f1ba200d48bceec10a9be8f0262c57f7375d02 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 19 Jun 2017 12:36:11 +0100 Subject: [PATCH] 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 https://bugzilla.gnome.org/show_bug.cgi?id=784392 --- gio/gioenums.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/gioenums.h b/gio/gioenums.h index c33b3919b..535eb6220 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: