Mark `gtk_drop_target_get_formats()` return value as `transfer none`
authorSebastian Dröge <sebastian@centricular.com>
Mon, 7 Feb 2022 14:23:01 +0000 (16:23 +0200)
committerSebastian 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

index 50ded064c3742770d62627c9f11ad0abb889c8df..477f167580381c8725fda756a2402965d398c71c 100644 (file)
@@ -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)