[atk] Add deprecation attributes to deprecated functions
- From: Javier JardÃn <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk] Add deprecation attributes to deprecated functions
- Date: Mon, 12 Mar 2012 12:56:54 +0000 (UTC)
commit d21780818439f690014ca3ce752310ac618b2f86
Author: Javier JardÃn <jjardon gnome org>
Date: Sun Mar 11 23:24:56 2012 +0000
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
atk/atkhyperlink.h | 1 +
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]