summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2020-09-29 14:05:38 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2020-09-29 14:05:38 +0100
commit4d5368e56ee45376e9490a3aac165ecae866376a (patch)
tree957357a87ba04d9975a235b787d1af71f7e16374
parent4efd8051109a19a3c09d5349e4a468a8138dc401 (diff)
downloadgtk+-4d5368e56ee45376e9490a3aac165ecae866376a.tar.gz
gdkcursor: Add annotations for gdk_cursor_new_for_display()
It can fail on Wayland, and is also (transfer full). Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-rw-r--r--gdk/gdkcursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c
index 62f1065e0f..367c531be8 100644
--- a/gdk/gdkcursor.c
+++ b/gdk/gdkcursor.c
@@ -226,7 +226,7 @@ gdk_cursor_get_cursor_type (GdkCursor *cursor)
*
* Creates a new cursor from the set of builtin cursors.
*
- * Returns: a new #GdkCursor
+ * Returns: (nullable) (transfer full): a new #GdkCursor, or %NULL on failure
*
* Since: 2.2
**/