From: Emmanuele Bassi Date: Mon, 22 May 2017 08:59:46 +0000 (+0100) Subject: Mark unbindable functions as 'skip' X-Git-Tag: upstream/2.28.1~45 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fatk.git;a=commitdiff_plain;h=b7a61dca19cdf02cd30f1dd729579dd70a552f68 Mark unbindable functions as 'skip' Functions that take a callback, with or without a closure, without a scope are not allowed in introspected languages. The introspection parser will automatically mark them as not introspectable, but it's better to explicitly skip them. --- diff --git a/atk/atkcomponent.c b/atk/atkcomponent.c index 53c1e7e..f0beb10 100644 --- a/atk/atkcomponent.c +++ b/atk/atkcomponent.c @@ -125,7 +125,7 @@ atk_component_base_init (AtkComponentIface *class) /** - * atk_component_add_focus_handler: + * atk_component_add_focus_handler: (skip) * @component: The #AtkComponent to attach the @handler to * @handler: The #AtkFocusHandler to be attached to @component * diff --git a/atk/atkobject.c b/atk/atkobject.c index b1ecf78..fb61bab 100644 --- a/atk/atkobject.c +++ b/atk/atkobject.c @@ -1146,7 +1146,7 @@ atk_object_set_role (AtkObject *accessible, } /** - * atk_object_connect_property_change_handler: + * atk_object_connect_property_change_handler: (skip) * @accessible: an #AtkObject * @handler: a function to be called when a property changes its value * diff --git a/atk/atkutil.c b/atk/atkutil.c index 4b3c68d..be9b983 100644 --- a/atk/atkutil.c +++ b/atk/atkutil.c @@ -92,7 +92,7 @@ struct _FocusTracker { }; /** - * atk_focus_tracker_init: + * atk_focus_tracker_init: (skip) * @init: Function to be called for focus tracker initialization * * Specifies the function to be called for focus tracker initialization. @@ -112,7 +112,7 @@ atk_focus_tracker_init (AtkEventListenerInit init) } /** - * atk_add_focus_tracker: + * atk_add_focus_tracker: (skip) * @focus_tracker: Function to be added to the list of functions to be called * when an object receives focus. * @@ -344,7 +344,7 @@ atk_util_real_remove_global_event_listener (guint remove_listener) /** - * atk_add_global_event_listener: + * atk_add_global_event_listener: (skip) * @listener: the listener to notify * @event_type: the type of event for which notification is requested * @@ -430,7 +430,7 @@ atk_remove_global_event_listener (guint listener_id) } /** - * atk_add_key_event_listener: + * atk_add_key_event_listener: (skip) * @listener: the listener to notify * @data: a #gpointer that points to a block of data that should be sent to the registered listeners, * along with the event notification, when it occurs.