[calls] project: Do not allow deprecated gtk/gdk symbols
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] project: Do not allow deprecated gtk/gdk symbols
- Date: Tue, 21 Dec 2021 14:33:07 +0000 (UTC)
commit 2026573e642678b1698e3c5ad36ccd9e18ae3ffa
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Fri Nov 26 06:48:08 2021 +0100
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 0cf3b104..6832e32a 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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]