Annotate the GtkSelectionModel callbacks

We need a scope for the select and unselect callback arguments.
This commit is contained in:
Emmanuele Bassi 2020-06-07 00:39:33 +01:00
parent 087f42d998
commit 7c382c6b47

View File

@ -345,7 +345,7 @@ gtk_selection_model_unselect_all (GtkSelectionModel *model)
/** /**
* gtk_selection_model_select_callback: * gtk_selection_model_select_callback:
* @model: a #GtkSelectionModel * @model: a #GtkSelectionModel
* @callback: a #GtkSelectionCallback to determine items to select * @callback: (scope call): a #GtkSelectionCallback to determine items to select
* @data: data to pass to @callback * @data: data to pass to @callback
* *
* Requests to select all items for which @callback returns * Requests to select all items for which @callback returns
@ -364,7 +364,7 @@ gtk_selection_model_select_callback (GtkSelectionModel *model,
/** /**
* gtk_selection_model_unselect_callback: * gtk_selection_model_unselect_callback:
* @model: a #GtkSelectionModel * @model: a #GtkSelectionModel
* @callback: a #GtkSelectionCallback to determine items to select * @callback: (scope call): a #GtkSelectionCallback to determine items to select
* @data: data to pass to @callback * @data: data to pass to @callback
* *
* Requests to unselect all items for which @callback returns * Requests to unselect all items for which @callback returns