mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-10 18:43:42 +01:00
listmodel: add documentation about unique instances
This has subtly been required and the original intention, so make it more discoverable by adding to the documentation. Fixes #3030
This commit is contained in:
@@ -124,6 +124,8 @@ G_DEFINE_INTERFACE (GListModel, g_list_model, G_TYPE_OBJECT)
|
|||||||
* %NULL is never returned for an index that is smaller than the length
|
* %NULL is never returned for an index that is smaller than the length
|
||||||
* of the list. See g_list_model_get_n_items().
|
* of the list. See g_list_model_get_n_items().
|
||||||
*
|
*
|
||||||
|
* The same #GObject instance may not appear more than once in a #GListModel.
|
||||||
|
*
|
||||||
* Returns: (type GObject) (transfer full) (nullable): the object at @position.
|
* Returns: (type GObject) (transfer full) (nullable): the object at @position.
|
||||||
*
|
*
|
||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
|
|||||||
Reference in New Issue
Block a user