Skip to content

Avoid deprecation warnings from GTK_ALIGN_BASELINE_FILL

Matthias Clasen requested to merge matthiasc/for-main into main

We have to be careful to only use GDK_ALIGN_BASELINE_FILL when permitted by GDK_VERSION_MAX_ALLOWED because gtkenums.h is a public header.

Fixes: #5875 (closed) I don't think we can avoid conditional compilation here, because the old definition is going to cause deprecated declaration warnings unless you define an old GDK_VERSION_MIN_REQUIRED.

Merge request reports