From 2026573e642678b1698e3c5ad36ccd9e18ae3ffa Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 26 Nov 2021 06:48:08 +0100 Subject: [PATCH] project: Do not allow deprecated gtk/gdk symbols This will make sure that we're not introducing deprecated symbols which could make it harder to migrate to Gtk4. --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 0cf3b10..6832e32 100644 --- a/meson.build +++ b/meson.build @@ -106,6 +106,9 @@ test_c_args = [ '-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_70', # see https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/332 '-DEDS_DISABLE_DEPRECATED', + # in preparation for the switch to Gtk4 we should make sure not to use deprecated symbols + '-DGDK_DISABLE_DEPRECATED', + '-DGTK_DISABLE_DEPRECATED', ] if get_option('buildtype') != 'plain'