[atk/wip/meson] Mark unbindable functions as 'skip'



commit ef766d80569c2e9f30cff87a0a2ba3db3937ac2a
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon May 22 09:59:46 2017 +0100

    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.

 atk/atkcomponent.c |    2 +-
 atk/atkobject.c    |    2 +-
 atk/atkutil.c      |    8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)
---
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.  


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]