mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +02:00
glib, gobject: Annotate deprecated types and enumerators
Use the new `GLIB_DEPRECATED_{TYPE,ENUMERATOR}*` macros to annotate types and enumerators as deprecated, rather than using `G_DISABLE_DEPRECATED`. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@@ -156,9 +156,7 @@ typedef enum
|
||||
G_PARAM_CONSTRUCT_ONLY = 1 << 3,
|
||||
G_PARAM_LAX_VALIDATION = 1 << 4,
|
||||
G_PARAM_STATIC_NAME = 1 << 5,
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
G_PARAM_PRIVATE = G_PARAM_STATIC_NAME,
|
||||
#endif
|
||||
G_PARAM_PRIVATE GLIB_DEPRECATED_ENUMERATOR_IN_2_26 = G_PARAM_STATIC_NAME,
|
||||
G_PARAM_STATIC_NICK = 1 << 6,
|
||||
G_PARAM_STATIC_BLURB = 1 << 7,
|
||||
/* User defined flags go here */
|
||||
|
Reference in New Issue
Block a user