[pango/wip/baedert/for-master2: 6/17] layout: Add missing (nullable) annotation



commit 25049ad1e41ad9127366e10c4c06ec56b5ffa69a
Author: Timm Bäder <mail baedert org>
Date:   Wed Apr 15 15:15:35 2020 +0200

    layout: Add missing (nullable) annotation

 pango/pango-layout.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 7a25494b..09132a45 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -711,7 +711,8 @@ pango_layout_set_attributes (PangoLayout   *layout,
  *
  * Gets the attribute list for the layout, if any.
  *
- * Return value: (transfer none): a #PangoAttrList.
+ * Return value: (transfer none) (nullable): a #PangoAttrList or %NULL
+ *   if none was set.
  **/
 PangoAttrList*
 pango_layout_get_attributes (PangoLayout *layout)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]