diff options
author | Alejandro Piñeiro <apinheiro@igalia.com> | 2013-08-12 16:47:06 +0200 |
---|---|---|
committer | Alejandro Piñeiro <apinheiro@igalia.com> | 2013-08-12 21:06:04 +0200 |
commit | c568794a6f75cc9cc297b24978bc7480ee689bea (patch) | |
tree | ff74ba115b7eda59fc770e4faf43dfc8081e74da /atk/atkutil.c | |
parent | 683e70ccad6d13a0495925e2a652a487cecb5006 (diff) | |
download | atk-c568794a6f75cc9cc297b24978bc7480ee689bea.tar.gz |
Deprecate AtkObject::focus-event signal and all related methods
From now on, state-changed:focused is the only focus related signal
to use. All the tracking methods (on both AtkUtil and AtkComponent)
are also deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=649575
Diffstat (limited to 'atk/atkutil.c')
-rwxr-xr-x | atk/atkutil.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/atk/atkutil.c b/atk/atkutil.c index 924d0a0..e45d88f 100755 --- a/atk/atkutil.c +++ b/atk/atkutil.c @@ -87,6 +87,11 @@ struct _FocusTracker { * This function should be called by an implementation of the * 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. + * **/ void atk_focus_tracker_init (AtkEventListenerInit init) @@ -103,6 +108,11 @@ atk_focus_tracker_init (AtkEventListenerInit init) * 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. + * * Returns: added focus tracker id, or 0 on failure. **/ guint @@ -138,6 +148,11 @@ atk_add_focus_tracker (AtkEventListener focus_tracker) * 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. **/ @@ -170,6 +185,11 @@ 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. + * **/ void atk_focus_tracker_notify (AtkObject *object) |