summaryrefslogtreecommitdiff
path: root/gdk/gdkclipboard.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-19 07:24:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-20 19:17:49 -0400
commit7fe0610b681c96823c45b88ca2c9657f1320bef8 (patch)
tree41969f7b0b3526fdc2fba178ab04c96bb1371ffb /gdk/gdkclipboard.c
parent8ba16eb4f1e6df67d79a9d509a3a45126a032e46 (diff)
downloadgtk+-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/gdkclipboard.c')
-rw-r--r--gdk/gdkclipboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkclipboard.c b/gdk/gdkclipboard.c
index 0be31e9ab0..fc507358f3 100644
--- a/gdk/gdkclipboard.c
+++ b/gdk/gdkclipboard.c
@@ -676,7 +676,7 @@ gdk_clipboard_read_async (GdkClipboard *clipboard,
* gdk_clipboard_read_finish:
* @clipboard: a `GdkClipboard`
* @result: a `GAsyncResult`
- * @out_mime_type: (out) (allow-none) (transfer none): pointer to store
+ * @out_mime_type: (out) (optional) (transfer none): pointer to store
* the chosen mime type
* @error: a `GError` location to store the error occurring
*
@@ -1194,7 +1194,7 @@ gdk_clipboard_claim_remote (GdkClipboard *clipboard,
/**
* gdk_clipboard_set_content:
* @clipboard: a `GdkClipboard`
- * @provider: (transfer none) (allow-none): the new contents of @clipboard
+ * @provider: (transfer none) (nullable): the new contents of @clipboard
* or %NULL to clear the clipboard
*
* Sets a new content provider on @clipboard.