Clarify document

We don't use the branch name to determine whether we should enable or
disable deprecation warnings coming from our dependencies.
This commit is contained in:
Emmanuele Bassi 2020-06-18 17:36:44 +01:00
parent df73bf38c2
commit 0c023bb5bb

View File

@ -209,8 +209,9 @@ endforeach
# Disable deprecation checks for all libraries we depend on on stable branches. # Disable deprecation checks for all libraries we depend on on stable branches.
# This is so newer versions of those libraries don't cause more warnings with # This is so newer versions of those libraries don't cause more warnings with
# a stable GTK version. # a stable GTK version.
# We don't ever want to turn off deprecation warnings for master however, because #
# that's where we get rid of deprecated API we use. # We don't ever want to turn off deprecation warnings for development cycles,
# however, because that's where we get rid of deprecated API we use.
if gtk_minor_version.is_even() if gtk_minor_version.is_even()
cdata.set('GLIB_DISABLE_DEPRECATION_WARNINGS', 1) cdata.set('GLIB_DISABLE_DEPRECATION_WARNINGS', 1)
endif endif