[gtk/wip/ricotz/annotations] Really fix annotation for GtkDropTarget.get_gtypes()



commit 4232cbe33f7540372765ae1ee98c16541babc1c3
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Mar 9 17:00:04 2020 +0100

    Really fix annotation for GtkDropTarget.get_gtypes()

 gtk/gtkdroptarget.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdroptarget.c b/gtk/gtkdroptarget.c
index b93e43c462..632a8699a3 100644
--- a/gtk/gtkdroptarget.c
+++ b/gtk/gtkdroptarget.c
@@ -870,8 +870,9 @@ gtk_drop_target_set_gtypes (GtkDropTarget *self,
  * Gets the list of supported #GTypes for @self. If no type have been set,
  * %NULL will be returned.
  *
- * Returns: (transfer none) (nullable): %G_TYPE_INVALID-terminated array of 
- *     types included in @formats or %NULL if none.
+ * Returns: (transfer none) (nullable) (array length=n_types):
+ *      %G_TYPE_INVALID-terminated array of types included in @formats or
+ *      %NULL if none.
  **/
 const GType *
 gtk_drop_target_get_gtypes (GtkDropTarget *self,


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