Thu, 12 Dec 2024 11:23:33 +0100
fix glib version check that resulted in build failures with older gtk/glib versions
ui/gtk/toolkit.h | file | annotate | diff | comparison | revisions |
--- a/ui/gtk/toolkit.h Fri Dec 06 13:11:09 2024 +0100 +++ b/ui/gtk/toolkit.h Thu Dec 12 11:23:33 2024 +0100 @@ -40,7 +40,7 @@ #pragma clang diagnostic ignored "-Wdeprecated-declarations" -#if GLIB_MAJOR_VERSION * 1000 + GLIB_MINOR_VERSION > 74 +#if GLIB_MAJOR_VERSION * 1000 + GLIB_MINOR_VERSION > 2074 #define UI_G_APPLICATION_FLAGS G_APPLICATION_DEFAULT_FLAGS #else #define UI_G_APPLICATION_FLAGS G_APPLICATION_FLAGS_NONE