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.
This commit is contained in:
@@ -106,6 +106,9 @@ test_c_args = [
|
|||||||
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_70',
|
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_70',
|
||||||
# see https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/332
|
# see https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/332
|
||||||
'-DEDS_DISABLE_DEPRECATED',
|
'-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'
|
if get_option('buildtype') != 'plain'
|
||||||
|
Reference in New Issue
Block a user