[gtk/prop-list: 3/4] tree list model: Add a missing annotation



commit ad652672c89354d85c0335fb771ae275ab387e46
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Dec 7 22:39:35 2019 -0500

    tree list model: Add a missing annotation
    
    The GtkTreeListModelCreateModelFunc returns
    a new reference.

 gtk/gtktreelistmodel.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtktreelistmodel.h b/gtk/gtktreelistmodel.h
index df41500ecc..0d405ee99d 100644
--- a/gtk/gtktreelistmodel.h
+++ b/gtk/gtktreelistmodel.h
@@ -52,7 +52,7 @@ G_DECLARE_FINAL_TYPE (GtkTreeListRow, gtk_tree_list_row, GTK, TREE_LIST_ROW, GOb
  * If it does not have children but may get children later, it should return
  * an empty model that is filled once children arrive.
  *
- * Returns: (nullable): The model tracking the children of @item or %NULL if
+ * Returns: (nullable) (transfer full): The model tracking the children of @item or %NULL if
  *     @item can never have children
  */
 typedef GListModel * (* GtkTreeListModelCreateModelFunc) (gpointer item, gpointer user_data);


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