From bfe4bbfc05319400572dd4547b093f7bcae7eba2 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 27 Dec 2020 18:38:54 +0200 Subject: [PATCH] [docs] Older GTK-Doc does not support HB_DEPRECATED_FOR() at all Fixes CI build failure. --- docs/Makefile.am | 2 +- docs/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Makefile.am b/docs/Makefile.am index 88e090c9c..ece0b947e 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -29,7 +29,7 @@ SCANGOBJ_OPTIONS= # Extra options to supply to gtkdoc-scan. # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" SCAN_OPTIONS=--rebuild-types --deprecated-guards="HB_DISABLE_DEPRECATED" \ - --ignore-decorators='HB_EXTERN|HB_DEPRECATED|HB_DEPRECATED_FOR()' + --ignore-decorators='HB_EXTERN|HB_DEPRECATED' # Header files or dirs to ignore when scanning. Use base file/dir names # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code diff --git a/docs/meson.build b/docs/meson.build index cf7f60180..5855a678a 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -56,7 +56,7 @@ gnome.gtkdoc('harfbuzz', join_paths(meson.current_build_dir(), '..'), ], scan_args: ['--deprecated-guards=HB_DISABLE_DEPRECATED', - '--ignore-decorators=HB_EXTERN|HB_DEPRECATED|HB_DEPRECATED_FOR()', + '--ignore-decorators=HB_EXTERN|HB_DEPRECATED', ], mkdb_args: ['--source-suffixes=h,cc', '--xml-mode',