Deprecate GTK_ALIGN_BASELINE
authorMatthias Clasen <mclasen@redhat.com>
Tue, 9 May 2023 17:08:34 +0000 (13:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 9 May 2023 18:28:26 +0000 (14:28 -0400)
We can deprecated enum values now.

gtk/gtkenums.h

index c683e9d01e0de3975c698291c008dd28f36dc411..a51ed55812f14374e62487282c363dad40934115 100644 (file)
@@ -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;