[gtk: 1/2] widget: Add missing callback annotation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] widget: Add missing callback annotation
- Date: Tue, 21 Apr 2020 21:57:18 +0000 (UTC)
commit 8e2ffb3b46178b9c3544e5398e95819349b6cb6e
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Apr 21 16:08:10 2020 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]