[gtk/gtk-3-24: 1/2] gdkcursor: Add annotations for gdk_cursor_new_for_display()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 1/2] gdkcursor: Add annotations for gdk_cursor_new_for_display()
- Date: Tue, 29 Sep 2020 13:32:38 +0000 (UTC)
commit 4d5368e56ee45376e9490a3aac165ecae866376a
Author: Philip Withnall <pwithnall endlessos org>
Date: Tue Sep 29 14:05:38 2020 +0100
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>
gdk/gdkcursor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]