From 42edc2780fc31719f90326febb5b44d2a7f58001 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 20 May 2021 21:03:11 -0400 Subject: docs: Reduce redundancy 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. --- pango/pango-engine.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pango/pango-engine.h') 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 -- cgit v1.2.1