summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-19 07:39:39 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-19 07:39:39 -0400
commit75eee838a91bad404d211b002f26e9af3033f0d5 (patch)
tree183f9b72b96d5c8ee72979220312f977234c9016 /pango/pango-layout.h
parent3940a1714e84b076d04d4638c88df3dba7d8014e (diff)
downloadpango-75eee838a91bad404d211b002f26e9af3033f0d5.tar.gz
introspection: Stop using allow-none
The allow-none annotation has been deprecated for a long time already. Instead use optional and nullable everywhere.
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r--pango/pango-layout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index 4a464230..9f2a10df 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -100,10 +100,10 @@ typedef enum {
/**
* PangoLayoutLine:
- * @layout: (allow-none): the layout this line belongs to, might be %NULL
+ * @layout: (nullable): the layout this line belongs to, might be %NULL
* @start_index: start of line as byte index into layout->text
* @length: length of line in bytes
- * @runs: (allow-none) (element-type Pango.LayoutRun): list of runs in the
+ * @runs: (nullable) (element-type Pango.LayoutRun): list of runs in the
* line, from left to right
* @is_paragraph_start: #TRUE if this is the first line of the paragraph
* @resolved_dir: #Resolved PangoDirection of line