summaryrefslogtreecommitdiff
path: root/atk
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2013-12-09 19:11:21 +0100
committerAlejandro Piñeiro <apinheiro@igalia.com>2013-12-09 19:11:21 +0100
commitd8d75d3e38e8532c36f8a5d9ebeca0518b1221e6 (patch)
treebfb7f0c122f5c5e0949808cc68e62a00ad1be91a /atk
parenteacee483828a5f77e8bd80ae68edbf077549aa9e (diff)
downloadatk-d8d75d3e38e8532c36f8a5d9ebeca0518b1221e6.tar.gz
role: deprecate atk_role_register
https://bugzilla.gnome.org/show_bug.cgi?id=720117
Diffstat (limited to 'atk')
-rwxr-xr-xatk/atkobject.c4
-rwxr-xr-xatk/atkobject.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/atk/atkobject.c b/atk/atkobject.c
index 72cfbdd..0136c7a 100755
--- a/atk/atkobject.c
+++ b/atk/atkobject.c
@@ -899,6 +899,10 @@ atk_object_ref_relation_set (AtkObject *accessible)
* Registers the role specified by @name. @name must be a meaningful
* name. So it should not be empty, or consisting on whitespaces.
*
+ * Deprecated: Since 2.12. If your application/toolkit doesn't find a
+ * suitable role for a specific object defined at #AtkRole, please
+ * submit a bug in order to add a new role to the specification.
+ *
* Returns: an #AtkRole for the new role if added
* properly. ATK_ROLE_INVALID in case of error.
**/
diff --git a/atk/atkobject.h b/atk/atkobject.h
index a4ac38e..781c317 100755
--- a/atk/atkobject.h
+++ b/atk/atkobject.h
@@ -721,6 +721,7 @@ gboolean atk_object_remove_relationship (AtkObject *
AtkRelationType relationship,
AtkObject *target);
const gchar* atk_role_get_localized_name (AtkRole role);
+G_DEPRECATED
AtkRole atk_role_register (const gchar *name);
const gchar* atk_object_get_object_locale (AtkObject *accessible);