mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 11:45:11 +01:00
gioenums: Add deprecation for FLAGS_NONE
g-ir won't pick it if it is not in its own doc block. Requires https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/512, otherwise the deprecated tag won't be set in the introspection data.
This commit is contained in:
parent
7129521966
commit
9d3c384565
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user