summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2012-03-11 23:24:56 +0000
committerJavier Jardón <jjardon@gnome.org>2012-03-12 12:56:32 +0000
commitd21780818439f690014ca3ce752310ac618b2f86 (patch)
treebaf45977061e4dfbe0a7a0d5829e1159fee3b74c
parent7904f5a8a3b3940b5db0072ff1ca260c28de6811 (diff)
downloadatk-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-xatk/atkhyperlink.h1
-rwxr-xr-xatk/atkobject.h2
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);