Merge branch 'document-deprecated-flags-none' into 'main'

gioenums: Add deprecation for FLAGS_NONE

See merge request GNOME/glib!4454
This commit is contained in:
Philip Withnall 2025-01-13 19:42:10 +00:00
commit 6c660596ea

View File

@ -1496,9 +1496,6 @@ typedef enum
/**
* GApplicationFlags:
* @G_APPLICATION_FLAGS_NONE: Default. Deprecated in 2.74, use
* %G_APPLICATION_DEFAULT_FLAGS instead
* @G_APPLICATION_DEFAULT_FLAGS: Default flags. Since: 2.74
* @G_APPLICATION_IS_SERVICE: Run as a service. In this mode, registration
* fails if the service is already running, and the application
* will initially wait up to 10 seconds for an initial activation
@ -1540,6 +1537,20 @@ typedef enum
*
* Since: 2.28
**/
/**
* G_APPLICATION_FLAGS_NONE:
*
* Default flags.
*
* Deprecated: 2.74: Use [flags@Gio.ApplicationFlags.DEFAULT_FLAGS].
**/
/**
* G_APPLICATION_DEFAULT_FLAGS:
*
* Default flags.
*
* Since: 2.74
**/
typedef enum /*< prefix=G_APPLICATION >*/
{
G_APPLICATION_FLAGS_NONE GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(G_APPLICATION_DEFAULT_FLAGS),