mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
enums: Add missing GLIB_AVAILABLE_ENUMERATOR_IN_2_68 annotations
In the 2.68 cycle we’d added 3 new enumerator elements. Due to the preceding commit, they can now be annotated with `GLIB_AVAILABLE_ENUMERATOR_IN_2_68`, which will make it a bit easier for third party projects to notice when they’re using these symbols without having bumped their GLib dependency. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #2327
This commit is contained in:
parent
856aeba9e4
commit
c92d9dc267
@ -1220,7 +1220,7 @@ typedef enum {
|
||||
G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS = (1<<2),
|
||||
G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION = (1<<3),
|
||||
G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING = (1<<4),
|
||||
G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER = (1<<5)
|
||||
G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<5)
|
||||
} GDBusConnectionFlags;
|
||||
|
||||
/**
|
||||
@ -1383,7 +1383,7 @@ typedef enum
|
||||
G_DBUS_SERVER_FLAGS_NONE = 0,
|
||||
G_DBUS_SERVER_FLAGS_RUN_IN_THREAD = (1<<0),
|
||||
G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS = (1<<1),
|
||||
G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER = (1<<2)
|
||||
G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
|
||||
} GDBusServerFlags;
|
||||
|
||||
/**
|
||||
|
@ -87,7 +87,7 @@ typedef enum {
|
||||
G_URI_FLAGS_ENCODED_QUERY = 1 << 5,
|
||||
G_URI_FLAGS_ENCODED_PATH = 1 << 6,
|
||||
G_URI_FLAGS_ENCODED_FRAGMENT = 1 << 7,
|
||||
G_URI_FLAGS_SCHEME_NORMALIZE = 1 << 8,
|
||||
G_URI_FLAGS_SCHEME_NORMALIZE GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = 1 << 8,
|
||||
} GUriFlags;
|
||||
|
||||
GLIB_AVAILABLE_IN_2_66
|
||||
|
Loading…
Reference in New Issue
Block a user