From 8e2ffb3b46178b9c3544e5398e95819349b6cb6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 21 Apr 2020 16:08:10 +0200 Subject: [PATCH] widget: Add missing callback annotation GI can only figure out the correct scope if there's a GDestroyNotify or GAsyncReadyCallback parameter. --- gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index b1c9bea8bd..6486b18da5 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -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.