summaryrefslogtreecommitdiff
path: root/gtk/gtkselectionmodel.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-06-07 00:39:33 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-06-07 00:39:33 +0100
commit7c382c6b47936c2d64342a03ffb39186e2822349 (patch)
tree3d5de80a4817889cf325a3e78b236e053caff122 /gtk/gtkselectionmodel.c
parent087f42d99807633199887a4910567f9e6768365e (diff)
downloadgtk+-7c382c6b47936c2d64342a03ffb39186e2822349.tar.gz
Annotate the GtkSelectionModel callbacks
We need a scope for the select and unselect callback arguments.
Diffstat (limited to 'gtk/gtkselectionmodel.c')
-rw-r--r--gtk/gtkselectionmodel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkselectionmodel.c b/gtk/gtkselectionmodel.c
index 1bbf277d61..9deb1e32de 100644
--- a/gtk/gtkselectionmodel.c
+++ b/gtk/gtkselectionmodel.c
@@ -345,7 +345,7 @@ gtk_selection_model_unselect_all (GtkSelectionModel *model)
/**
* gtk_selection_model_select_callback:
* @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
*
* 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:
* @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
*
* Requests to unselect all items for which @callback returns