summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2019-04-05 15:45:17 +0200
committerAlberto Fanjul <albertofanjul@gmail.com>2019-06-09 20:16:27 +0200
commitfcdfc122905e75492b4665ca17844fcf5c253bf6 (patch)
tree57fde4977d3b5e532f71bfb0423ebe7d36fb87d3 /meson.build
parent1980767aae0872e19634656f98de7408493b141e (diff)
downloadglade-fcdfc122905e75492b4665ca17844fcf5c253bf6.tar.gz
Add GDK_VERSION_MIN_REQUIRED
It silences many warnings with GTK when we are supposed to use some deprecated methods by design
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index aa2f6753..86786cbc 100644
--- a/meson.build
+++ b/meson.build
@@ -80,6 +80,7 @@ endforeach
config_h.set('GLADE_MAJOR_VERSION', glade_major_version)
config_h.set('GLADE_MINOR_VERSION', glade_minor_version)
config_h.set('GLADE_MICRO_VERSION', glade_micro_version)
+config_h.set('GDK_VERSION_MIN_REQUIRED', '(G_ENCODE_VERSION (3, 0))')
config_h.set('ENABLE_NLS', true)
# compiler flags