widget: Add missing callback annotation

GI can only figure out the correct scope if there's a GDestroyNotify
or GAsyncReadyCallback parameter.
This commit is contained in:
Florian Müllner 2020-04-21 16:08:10 +02:00
parent e818bf8514
commit 8e2ffb3b46

View File

@ -12343,7 +12343,7 @@ gtk_widget_class_add_action (GtkWidgetClass *widget_class,
* @widget_class: a #GtkWidgetClass * @widget_class: a #GtkWidgetClass
* @action_name: a prefixed action name, such as "clipboard.paste" * @action_name: a prefixed action name, such as "clipboard.paste"
* @parameter_type: (nullable): the parameter type, or %NULL * @parameter_type: (nullable): the parameter type, or %NULL
* @activate: callback to use when the action is activated * @activate: (scope call): callback to use when the action is activated
* *
* This should be called at class initialization time to specify * This should be called at class initialization time to specify
* actions to be added for all instances of this class. * actions to be added for all instances of this class.