projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ec4ec
)
Mark `gtk_drop_target_get_formats()` return value as `transfer none`
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 7 Feb 2022 14:23:01 +0000
(16:23 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 7 Feb 2022 14:23:01 +0000
(16:23 +0200)
It was wrongly inferred as `transfer full` by gobject-introspection.
gtk/gtkdroptarget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdroptarget.c
b/gtk/gtkdroptarget.c
index 50ded064c3742770d62627c9f11ad0abb889c8df..477f167580381c8725fda756a2402965d398c71c 100644
(file)
--- a/
gtk/gtkdroptarget.c
+++ b/
gtk/gtkdroptarget.c
@@
-895,7
+895,7
@@
gtk_drop_target_new (GType type,
*
* If the result is %NULL, all formats are expected to be supported.
*
- * Returns: (nullable): the supported data formats
+ * Returns: (nullable)
(transfer none)
: the supported data formats
*/
GdkContentFormats *
gtk_drop_target_get_formats (GtkDropTarget *self)