diff options
author | Javier Jardón <jjardon@gnome.org> | 2012-03-11 23:24:56 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2012-03-12 12:56:32 +0000 |
commit | d21780818439f690014ca3ce752310ac618b2f86 (patch) | |
tree | baf45977061e4dfbe0a7a0d5829e1159fee3b74c | |
parent | 7904f5a8a3b3940b5db0072ff1ca260c28de6811 (diff) | |
download | atk-d21780818439f690014ca3ce752310ac618b2f86.tar.gz |
Add deprecation attributes to deprecated functions
This is using the newly introduce G_DEPRECATED macros
from GLib. Traditional deprecation guards are still in
place.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=671857
-rwxr-xr-x | atk/atkhyperlink.h | 1 | ||||
-rwxr-xr-x | atk/atkobject.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/atk/atkhyperlink.h b/atk/atkhyperlink.h index dff0c8a..c85a8b3 100755 --- a/atk/atkhyperlink.h +++ b/atk/atkhyperlink.h @@ -98,6 +98,7 @@ gboolean atk_hyperlink_is_inline (AtkHyperlink *link_); gint atk_hyperlink_get_n_anchors (AtkHyperlink *link_); #ifndef ATK_DISABLE_DEPRECATED +G_DEPRECATED gboolean atk_hyperlink_is_selected_link (AtkHyperlink *link_); #endif /* ATK_DISABLE_DEPRECATED */ diff --git a/atk/atkobject.h b/atk/atkobject.h index 264a987..bbfebbf 100755 --- a/atk/atkobject.h +++ b/atk/atkobject.h @@ -570,7 +570,9 @@ AtkObject* atk_object_ref_accessible_child (AtkObject *ac AtkRelationSet* atk_object_ref_relation_set (AtkObject *accessible); AtkRole atk_object_get_role (AtkObject *accessible); #ifndef ATK_DISABLE_DEPRECATED +G_DEPRECATED_FOR(atk_component_get_layer) AtkLayer atk_object_get_layer (AtkObject *accessible); +G_DEPRECATED_FOR(atk_component_get_mdi_zorder) gint atk_object_get_mdi_zorder (AtkObject *accessible); #endif /* ATK_DISABLE_DEPRECATED */ AtkAttributeSet* atk_object_get_attributes (AtkObject *accessible); |