summaryrefslogtreecommitdiff
path: root/pango/pango-modules.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-15 21:06:28 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-03-11 13:17:36 -0500
commitaf4a7f6d8ba850562b3dc675a11ca709fdd3c171 (patch)
tree494e0ae5defc220b4fd21e9f73c4d40d410c5557 /pango/pango-modules.h
parent6aa38752f9a8b5cbe39439d689bdb1ede9ee0a77 (diff)
downloadpango-af4a7f6d8ba850562b3dc675a11ca709fdd3c171.tar.gz
Drop some useless things from the gir
We don't need the deprecated and useless module and engine types in the gir and the docs.
Diffstat (limited to 'pango/pango-modules.h')
-rw-r--r--pango/pango-modules.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pango/pango-modules.h b/pango/pango-modules.h
index 64900a17..54b347a2 100644
--- a/pango/pango-modules.h
+++ b/pango/pango-modules.h
@@ -26,6 +26,11 @@
G_BEGIN_DECLS
+/* All of this is deprecated and entirely useless for bindings.
+ * Leave it out of the gir file.
+ */
+#ifndef __GI_SCANNER__
+
#ifndef PANGO_DISABLE_DEPRECATED
typedef struct _PangoMap PangoMap;
@@ -72,6 +77,8 @@ void pango_module_register (PangoIncludedModule *module);
#endif /* PANGO_DISABLE_DEPRECATED */
+#endif /* __GI_SCANNER__ */
+
G_END_DECLS
#endif /* __PANGO_MODULES_H__ */