Skip to content
Snippets Groups Projects
Verified Commit 3f421f62 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Bump GLib requirement to minimum GTK 4.0 requires

parent e47db52e
No related branches found
No related tags found
No related merge requests found
Pipeline #3191 passed
......@@ -17,7 +17,7 @@ datadir = get_option('datadir')
gnome = import('gnome')
gio_dep = dependency('gio-2.0', version: '>= 2.46')
gio_dep = dependency('gio-2.0', version: '>= 2.66')
gtk_dep = dependency('gtk4', version: '>= 4.0')
conf = configuration_data()
......@@ -30,13 +30,12 @@ config_h = vcs_tag(
output: 'config.h',
)
cflags = []
cflags += ['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_46',
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_46']
cflags += ['-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_0',
'-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_0']
cflags += '-Wno-overlength-strings'
cflags = ['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66',
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66',
'-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_0',
'-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_0',
'-Wno-overlength-strings',
]
cc = meson.get_compiler('c')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment