list model: Expand items-changed docs

Point out explicitly that positions change
when ::items-changed is emitted.
This commit is contained in:
Matthias Clasen 2019-06-21 15:53:51 +00:00
parent 1bd72404ba
commit 99764fd8fa

View File

@ -131,9 +131,12 @@ g_list_model_default_init (GListModelInterface *iface)
* @removed: the number of items removed * @removed: the number of items removed
* @added: the number of items added * @added: the number of items added
* *
* This signal is emitted whenever items were added or removed to * This signal is emitted whenever items were added to or removed
* @list. At @position, @removed items were removed and @added items * from @list. At @position, @removed items were removed and @added
* were added in their place. * items were added in their place.
*
* Note: If @removed != @added, the positions of all later items
* in the model change.
* *
* Since: 2.44 * Since: 2.44
*/ */