[gtk: 1/2] Mark `path` out parameter of `gtk_icon_view_get_drag_dest_item()` as `(nullable)`
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] Mark `path` out parameter of `gtk_icon_view_get_drag_dest_item()` as `(nullable)`
- Date: Thu, 10 Feb 2022 11:24:05 +0000 (UTC)
commit 07d6ef13c5a2a86c49789c51656172339c2330fd
Author: Sebastian Dröge <sebastian centricular com>
Date: Tue Feb 8 12:50:24 2022 +0200
Mark `path` out parameter of `gtk_icon_view_get_drag_dest_item()` as `(nullable)`
It can be set to `NULL` and the function body handles `NULL` explictly,
so annotate it accordingly.
gtk/gtkiconview.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 606995f15e..41f824610d 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -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
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]