[gtk/fix-icontheme-invalidation] widget: Add missing callback annotation



commit 745d488a29099e484a95894c2ec29026fe2d562e
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 a517913029..6b0b80a50d 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -12395,7 +12395,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]