projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d5816
)
Mark `path` out parameter of `gtk_icon_view_get_drag_dest_item()` as `(nullable)`
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 8 Feb 2022 10:50:24 +0000
(12:50 +0200)
committer
Sebastian 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
patch
|
blob
|
history
diff --git
a/gtk/gtkiconview.c
b/gtk/gtkiconview.c
index 606995f15e326b80d6353b2b1c27fa0697ca54d8..41f824610d2d26f8290b5ff7e7c3a5c6bd673173 100644
(file)
--- 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
*