From cecbbfab0e3577190c26a5f77b9ce9653e0a4852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= Date: Sun, 18 Nov 2018 22:19:16 +0100 Subject: [PATCH] gnome.gtkdoc: Fix missing permitted `c_args` argument Although `gtkdoc` function has support for `c_args` argument[0], it produces warning messages due to missing string in the permitted arguments list. [0] https://github.com/mesonbuild/meson/pull/4192 --- mesonbuild/modules/gnome.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 51d4ea929..bf49770eb 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -914,7 +914,8 @@ This will become a hard error in the future.''') 'install_dir', 'scan_args', 'scanobjs_args', 'gobject_typesfile', 'fixxref_args', 'html_args', 'html_assets', 'content_files', 'mkdb_args', 'ignore_headers', 'include_directories', - 'namespace', 'mode', 'expand_content_files', 'module_version'}) + 'namespace', 'mode', 'expand_content_files', 'module_version', + 'c_args'}) def gtkdoc(self, state, args, kwargs): if len(args) != 1: raise MesonException('Gtkdoc must have one positional argument.')