From d6cf910a675aa5c821d07c72fc997e89802fbc0a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 5 May 2021 15:53:06 +0300 Subject: [PATCH 47/47] gtk3x: Define GTKCOMPAT_GTK4_FINAL when building against stable gtk4 See osdn #42184 Signed-off-by: Marko Lindqvist --- client/gui-gtk-4.0/gtkcompat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/gui-gtk-4.0/gtkcompat.h b/client/gui-gtk-4.0/gtkcompat.h index 6ade08bd07..9411b2db21 100644 --- a/client/gui-gtk-4.0/gtkcompat.h +++ b/client/gui-gtk-4.0/gtkcompat.h @@ -13,6 +13,10 @@ #ifndef FC__GTKCOMPAT_H #define FC__GTKCOMPAT_H +#if GTK_CHECK_VERSION(4,0,0) +#define GTKCOMPAT_GTK4_FINAL +#endif + #if !GTK_CHECK_VERSION(3,98,0) /* Compatibility mode */ -- 2.30.2