diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-19 07:39:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-19 07:39:39 -0400 |
commit | 75eee838a91bad404d211b002f26e9af3033f0d5 (patch) | |
tree | 183f9b72b96d5c8ee72979220312f977234c9016 /pango/pango-tabs.c | |
parent | 3940a1714e84b076d04d4638c88df3dba7d8014e (diff) | |
download | pango-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-tabs.c')
-rw-r--r-- | pango/pango-tabs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c index 2c2717ee..1bb65621 100644 --- a/pango/pango-tabs.c +++ b/pango/pango-tabs.c @@ -292,8 +292,8 @@ pango_tab_array_set_tab (PangoTabArray *tab_array, * pango_tab_array_get_tab: * @tab_array: a `PangoTabArray` * @tab_index: tab stop index - * @alignment: (out) (allow-none): location to store alignment, or %NULL - * @location: (out) (allow-none): location to store tab position, or %NULL + * @alignment: (out) (optional): location to store alignment, or %NULL + * @location: (out) (optional): location to store tab position, or %NULL * * Gets the alignment and position of a tab stop. */ @@ -317,9 +317,9 @@ pango_tab_array_get_tab (PangoTabArray *tab_array, /** * pango_tab_array_get_tabs: * @tab_array: a `PangoTabArray` - * @alignments: (out) (allow-none): location to store an array of tab + * @alignments: (out) (optional): location to store an array of tab * stop alignments, or %NULL - * @locations: (out) (allow-none) (array): location to store an array + * @locations: (out) (optional) (array): location to store an array * of tab positions, or %NULL * * If non-%NULL, @alignments and @locations are filled with allocated |