mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
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:
parent
e818bf8514
commit
8e2ffb3b46
@ -12343,7 +12343,7 @@ gtk_widget_class_add_action (GtkWidgetClass *widget_class,
|
||||
* @widget_class: a #GtkWidgetClass
|
||||
* @action_name: a prefixed action name, such as "clipboard.paste"
|
||||
* @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
|
||||
* actions to be added for all instances of this class.
|
||||
|
Loading…
Reference in New Issue
Block a user