Blame SOURCES/gegl04-gtk.patch

17eda8
From cf7e328c931a46997fbc4a40540afccd2da8f1e9 Mon Sep 17 00:00:00 2001
17eda8
From: Simon McVittie <smcv@debian.org>
17eda8
Date: Thu, 9 Sep 2021 13:00:36 +0100
17eda8
Subject: [PATCH] docs: Don't scan ctx.h with gtk-doc
17eda8
17eda8
ctx.h contains both declarations and implementation, causing gtk-doc to
17eda8
fail. It isn't part of GEGL's public API anyway, so don't try to
17eda8
document it as such.
17eda8
17eda8
Signed-off-by: Simon McVittie <smcv@debian.org>
17eda8
---
17eda8
 docs/reference/meson.build | 1 +
17eda8
 1 file changed, 1 insertion(+)
17eda8
17eda8
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
17eda8
index 8193a25ba..2348cec92 100644
17eda8
--- a/docs/reference/meson.build
17eda8
+++ b/docs/reference/meson.build
17eda8
@@ -12,6 +12,7 @@ if gtkdoc_scan.found()
17eda8
       project_source_root / 'gegl',
17eda8
       project_build_root / 'gegl',
17eda8
     ],
17eda8
+    ignore_headers: ['ctx.h'],
17eda8
     fixxref_args: [
17eda8
       '--html-dir=@0@'.format(gegl_gtk_docdir),
17eda8
       '--extra-dir=@0@'.format(glib_gtk_docdir),
17eda8
-- 
17eda8
GitLab
17eda8
17eda8