diff -r 98470af75dcf -r d02e1149cdb9 ui/gtk/toolkit.h --- a/ui/gtk/toolkit.h Sun Sep 22 18:16:14 2024 +0200 +++ b/ui/gtk/toolkit.h Sun Sep 22 19:47:26 2024 +0200 @@ -85,14 +85,20 @@ #define UI_GTK_SINCE_V4(st) st #define UI_GTK_SINCE_V3(st) #define UI_GTK_V2(st) +#define UI_GTK_V3(st) +#define UI_GTK_V4(st) st #elif GTK_MAJOR_VERSION >= 3 #define UI_GTK_SINCE_V4(st) st #define UI_GTK_SINCE_V3(st) st #define UI_GTK_V2(st) +#define UI_GTK_V3(st) st +#define UI_GTK_V4(st) #else #define UI_GTK_SINCE_V4(st) #define UI_GTK_SINCE_V3(st) #define UI_GTK_V2(st) st +#define UI_GTK_V3(st) +#define UI_GTK_V4(st) #endif