#include "config.h"
#include "atkutil.h"
-#include "atkmarshal.c"
+#include "atkmarshal.h"
/**
* SECTION:atkutil
};
/**
- * 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.
* ATK interface if any specific work needs to be done to enable
* focus tracking.
*
- * Deprecated: This method is deprecated since ATK version
- * 2.9.4. Focus tracking has been dropped as a feature to be
- * implemented by ATK itself.
+ * Deprecated: 2.9.4: Focus tracking has been dropped as a feature
+ * to be implemented by ATK itself.
*
**/
void
}
/**
- * 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.
*
* Adds the specified function to the list of functions to be called
* when an object receives focus.
*
- * Deprecated: This method is deprecated since ATK version
- * 2.9.4. Focus tracking has been dropped as a feature to be
- * implemented by ATK itself. If you need focus tracking on your
- * implementation, subscribe to the state-changed:focused signal.
+ * Deprecated: 2.9.4: Focus tracking has been dropped as a feature
+ * to be implemented by ATK itself. If you need focus tracking on your
+ * implementation, subscribe to the #AtkObject::state-change "focused" signal.
*
* Returns: added focus tracker id, or 0 on failure.
**/
* atk_remove_focus_tracker:
* @tracker_id: the id of the focus tracker to remove
*
- * Deprecated: This method is deprecated since ATK version
- * 2.9.4. Focus tracking has been dropped as a feature to be
- * implemented by ATK itself. If you need focus tracking on your
- * implementation, subscribe to the state-changed:focused signal.
- *
* Removes the specified focus tracker from the list of functions
* to be called when any object receives focus.
- **/
+ *
+ * Deprecated: 2.9.4: Focus tracking has been dropped as a feature
+ * to be implemented by ATK itself. If you need focus tracking on your
+ * implementation, subscribe to the #AtkObject::state-change "focused"
+ * signal.
+ */
void
atk_remove_focus_tracker (guint tracker_id)
{
* Cause the focus tracker functions which have been specified to be
* executed for the object.
*
- * Deprecated: This method is deprecated since ATK version
- * 2.9.4. Focus tracking has been dropped as a feature to be
- * implemented by ATK itself. As #AtkObject::focus-event was
+ * Deprecated: 2.9.4: Focus tracking has been dropped as a feature
+ * to be implemented by ATK itself. As #AtkObject::focus-event was
* deprecated in favor of a #AtkObject::state-change signal, in order
* to notify a focus change on your implementation, you can use
* atk_object_notify_state_change() instead.
- *
**/
void
atk_focus_tracker_notify (AtkObject *object)
/**
- * 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
*
}
/**
- * 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.
{
AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL);
- if (klass->remove_key_event_listener)
+ if (klass && klass->remove_key_event_listener)
klass->remove_key_event_listener (listener_id);
}