summaryrefslogtreecommitdiff
path: root/pango/pango-engine.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-20 21:03:11 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-20 21:03:11 -0400
commit42edc2780fc31719f90326febb5b44d2a7f58001 (patch)
treeec0b6f20afaf98802a41d10f40d58d8afa159894 /pango/pango-engine.h
parente2d1a595b84ca31d89ae20734155e6d1de635502 (diff)
downloadpango-42edc2780fc31719f90326febb5b44d2a7f58001.tar.gz
docs: Reduce redundancydocs-cleanups
Remove a boatload of "or %NULL" from nullable parameters and return values. gi-docgen generates suitable text from the annotation that we don't need to duplicate.
Diffstat (limited to 'pango/pango-engine.h')
-rw-r--r--pango/pango-engine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-engine.h b/pango/pango-engine.h
index b634fd88..faa683a4 100644
--- a/pango/pango-engine.h
+++ b/pango/pango-engine.h
@@ -370,8 +370,8 @@ prefix ## _register_type (GTypeModule *module) \
* PANGO_ENGINE_LANG_DEFINE_TYPE:
* @name: Name of the the type to register (for example:, ArabicEngineFc)
* @prefix: Prefix for symbols that will be defined (for example:, arabic_engine_fc)
- * @class_init: (nullable): Class initialization function for the new type, or %NULL
- * @instance_init: (nullable): Instance initialization function for the new type, or %NULL
+ * @class_init: (nullable): Class initialization function for the new type
+ * @instance_init: (nullable): Instance initialization function for the new type
*
* Outputs the necessary code for GObject type registration for a
* `PangoEngineLang` class defined in a module. Two static symbols
@@ -401,8 +401,8 @@ prefix ## _register_type (GTypeModule *module) \
* PANGO_ENGINE_SHAPE_DEFINE_TYPE:
* @name: Name of the the type to register (for example:, ArabicEngineFc)
* @prefix: Prefix for symbols that will be defined (for example:, arabic_engine_fc)
- * @class_init: (nullable): Class initialization function for the new type, or %NULL
- * @instance_init: (nullable): Instance initialization function for the new type, or %NULL
+ * @class_init: (nullable): Class initialization function for the new type
+ * @instance_init: (nullable): Instance initialization function for the new type
*
* Outputs the necessary code for GObject type registration for a
* `PangoEngineShape` class defined in a module. Two static symbols