[gtk: 1/2] Mark `gtk_drop_target_get_formats()` return value as `transfer none`




commit 3ba582375d58291be148818b0a6580c32e15514b
Author: Sebastian Dröge <sebastian centricular com>
Date:   Mon Feb 7 16:23:01 2022 +0200

    Mark `gtk_drop_target_get_formats()` return value as `transfer none`
    
    It was wrongly inferred as `transfer full` by gobject-introspection.

 gtk/gtkdroptarget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkdroptarget.c b/gtk/gtkdroptarget.c
index 50ded064c3..477f167580 100644
--- 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]