summaryrefslogtreecommitdiff
path: root/atspi/atspi-document.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2013-05-14 10:53:45 -0500
committerMike Gorse <mgorse@suse.com>2013-05-15 15:09:00 -0500
commit5b9c1723c5661b9d573b56af3673b488bf2136d7 (patch)
treedf634deee63a85be88e9c17b1bba61f1eb2b3ad6 /atspi/atspi-document.h
parente2661ee0aa213120ef82002518b6f3cf6fe944b5 (diff)
downloadat-spi2-core-5b9c1723c5661b9d573b56af3673b488bf2136d7.tar.gz
Rename various functions to avoid name collisions
Having functions with common suffixes (ie, atspi_text_get_attributes and atspi_document_get_attributes) results in problems for language bindings. Deprecating these functions in favor of functions with new names to avoid these collisions. https://bugzilla.gnome.org/show_bug.cgi?id=700243
Diffstat (limited to 'atspi/atspi-document.h')
-rw-r--r--atspi/atspi-document.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/atspi/atspi-document.h b/atspi/atspi-document.h
index 85ba3389..cb6f9660 100644
--- a/atspi/atspi-document.h
+++ b/atspi/atspi-document.h
@@ -47,9 +47,17 @@ struct _AtspiDocument
gchar * atspi_document_get_locale (AtspiDocument *obj, GError **error);
+#ifndef ATSPI_DISABLE_DEPRECATED
gchar * atspi_document_get_attribute_value (AtspiDocument *obj, gchar *attribute, GError **error);
+#endif
+gchar * atspi_document_get_document_attribute_value (AtspiDocument *obj, gchar *attribute, GError **error);
+
+#ifndef ATSPI_DISABLE_DEPRECATED
GHashTable * atspi_document_get_attributes (AtspiDocument *obj, GError **error);
+#endif
+
+GHashTable * atspi_document_get_document_attributes (AtspiDocument *obj, GError **error);
G_END_DECLS