fix gtk version check

Sun, 31 Aug 2025 07:50:23 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 31 Aug 2025 07:50:23 +0200
changeset 744
0528926422da
parent 743
85588901880f
child 745
a4ee36ff7147

fix gtk version check

ui/gtk/range.c file | annotate | diff | comparison | revisions
--- a/ui/gtk/range.c	Sun Aug 31 07:48:07 2025 +0200
+++ b/ui/gtk/range.c	Sun Aug 31 07:50:23 2025 +0200
@@ -126,7 +126,7 @@
 #else
     gtk_adjustment_set_page_size(a, extent);
 #endif
-#if GTK_MAJOR_VERSION * 100 + GTK_MIMOR_VERSION < 318
+#if !GTK_CHECK_VERSION(3, 18, 0)
     gtk_adjustment_changed(a);
 #endif
     range->extent = extent;

mercurial