fix glib version check that resulted in build failures with older gtk/glib versions newapi

Thu, 12 Dec 2024 11:23:33 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 12 Dec 2024 11:23:33 +0100
branch
newapi
changeset 412
138b1089ba05
parent 411
3e91b7aff6a1
child 413
b8e41d42f400

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

mercurial