aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-11-14 21:15:30 -0500
committerEli Schwartz <eschwartz@archlinux.org>2021-11-20 20:48:30 -0500
commit32821be623d4cc0ea0136b8e0918f50647d6b50b (patch)
tree250e02166420dcea919ba5f18b6f13bae1f67bef /mesonbuild/modules/gnome.py
parent8dbb0ee476493d3059a5b4a4db61fbc3bd162bef (diff)
downloadmeson-32821be623d4cc0ea0136b8e0918f50647d6b50b.zip
meson-32821be623d4cc0ea0136b8e0918f50647d6b50b.tar.gz
meson-32821be623d4cc0ea0136b8e0918f50647d6b50b.tar.bz2
add location nodes to some Feature calls
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 7876fd6..5798397 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -991,7 +991,7 @@ class GnomeModule(ExtensionModule):
if '--warn-error' in scan_command:
FeatureDeprecated.single_use('gnome.generate_gir argument --warn-error', '0.55.0',
- state.subproject, 'Use "fatal_warnings" keyword argument')
+ state.subproject, 'Use "fatal_warnings" keyword argument', state.current_node)
if kwargs['fatal_warnings']:
scan_command.append('--warn-error')
@@ -1048,7 +1048,7 @@ class GnomeModule(ExtensionModule):
sources = kwargs['sources']
if args[1]:
FeatureDeprecated.single_use('gnome.yelp more than one positional argument', '0.60.0',
- state.subproject, 'use the "sources" keyword argument instead.')
+ state.subproject, 'use the "sources" keyword argument instead.', state.current_node)
if not sources:
sources = args[1]
if not sources: