summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-05-09 13:08:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2023-05-09 14:28:26 -0400
commit1dfa54c117738adbf545b76d0795cdd619e9b74a (patch)
tree4d4125e347be8705d547b017541e499665b78232
parentff920d98ecac097556597d974ee28907d1779500 (diff)
downloadgtk+-1dfa54c117738adbf545b76d0795cdd619e9b74a.tar.gz
Deprecate GTK_ALIGN_BASELINE
We can deprecated enum values now.
-rw-r--r--gtk/gtkenums.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index c683e9d01e..a51ed55812 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -29,6 +29,7 @@
#endif
#include <glib-object.h>
+#include <gdk/version/gdkversionmacros.h>
G_BEGIN_DECLS
@@ -69,8 +70,8 @@ typedef enum
GTK_ALIGN_START,
GTK_ALIGN_END,
GTK_ALIGN_CENTER,
- GTK_ALIGN_BASELINE,
- GTK_ALIGN_BASELINE_FILL = GTK_ALIGN_BASELINE,
+ GTK_ALIGN_BASELINE_FILL,
+ GTK_ALIGN_BASELINE GDK_DEPRECATED_ENUMERATOR_IN_4_12_FOR(GTK_ALIGN_BASELINE_FILL) = GTK_ALIGN_BASELINE_FILL,
GTK_ALIGN_BASELINE_CENTER,
} GtkAlign;