diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-19 07:24:34 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-20 19:17:49 -0400 |
commit | 7fe0610b681c96823c45b88ca2c9657f1320bef8 (patch) | |
tree | 41969f7b0b3526fdc2fba178ab04c96bb1371ffb /gdk/gdkcursor.c | |
parent | 8ba16eb4f1e6df67d79a9d509a3a45126a032e46 (diff) | |
download | gtk+-7fe0610b681c96823c45b88ca2c9657f1320bef8.tar.gz |
introspection: Stop using allow-none
allow-none has been deprecated for a long time
already. Instead use optional and nullable everywhere.
Diffstat (limited to 'gdk/gdkcursor.c')
-rw-r--r-- | gdk/gdkcursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c index ed3afc019e..62ba4143c9 100644 --- a/gdk/gdkcursor.c +++ b/gdk/gdkcursor.c @@ -298,7 +298,7 @@ gdk_cursor_equal (gconstpointer a, /** * gdk_cursor_new_from_name: * @name: the name of the cursor - * @fallback: (allow-none): %NULL or the `GdkCursor` to fall back to when + * @fallback: (nullable): %NULL or the `GdkCursor` to fall back to when * this one cannot be supported * * Creates a new cursor by looking up @name in the current cursor @@ -340,7 +340,7 @@ gdk_cursor_new_from_name (const char *name, * @texture: the texture providing the pixel data * @hotspot_x: the horizontal offset of the “hotspot” of the cursor * @hotspot_y: the vertical offset of the “hotspot” of the cursor - * @fallback: (allow-none): %NULL or the `GdkCursor` to fall back to when + * @fallback: (nullable): %NULL or the `GdkCursor` to fall back to when * this one cannot be supported * * Creates a new cursor from a `GdkTexture`. |