Mark `path` out parameter of `gtk_icon_view_get_drag_dest_item()` as `(nullable)`
authorSebastian Dröge <sebastian@centricular.com>
Tue, 8 Feb 2022 10:50:24 +0000 (12:50 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 8 Feb 2022 10:50:24 +0000 (12:50 +0200)
It can be set to `NULL` and the function body handles `NULL` explictly,
so annotate it accordingly.

gtk/gtkiconview.c

index 606995f15e326b80d6353b2b1c27fa0697ca54d8..41f824610d2d26f8290b5ff7e7c3a5c6bd673173 100644 (file)
@@ -6432,7 +6432,7 @@ gtk_icon_view_set_drag_dest_item (GtkIconView              *icon_view,
 /**
  * gtk_icon_view_get_drag_dest_item:
  * @icon_view: a `GtkIconView`
- * @path: (out) (optional): Return location for the path of
+ * @path: (out) (nullable) (optional): Return location for the path of
  *   the highlighted item
  * @pos: (out) (optional): Return location for the drop position
  *