diff options
author | Mike Gorse <mgorse@suse.com> | 2013-05-14 10:53:45 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2013-05-15 15:09:00 -0500 |
commit | 5b9c1723c5661b9d573b56af3673b488bf2136d7 (patch) | |
tree | df634deee63a85be88e9c17b1bba61f1eb2b3ad6 /atspi/atspi-text.h | |
parent | e2661ee0aa213120ef82002518b6f3cf6fe944b5 (diff) | |
download | at-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-text.h')
-rw-r--r-- | atspi/atspi-text.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/atspi/atspi-text.h b/atspi/atspi-text.h index 21e2db3f..f027e9a1 100644 --- a/atspi/atspi-text.h +++ b/atspi/atspi-text.h @@ -89,11 +89,19 @@ gchar * atspi_text_get_text (AtspiText *obj, gint start_offset, gint end_offset, gint atspi_text_get_caret_offset (AtspiText *obj, GError **error); +#ifndef ATSPI_DISABLE_DEPRECATED GHashTable *atspi_text_get_attributes (AtspiText *obj, gint offset, gint *start_offset, gint *end_offset, GError **error); +#endif + +GHashTable *atspi_text_get_text_attributes (AtspiText *obj, gint offset, gint *start_offset, gint *end_offset, GError **error); GHashTable *atspi_text_get_attribute_run (AtspiText *obj, gint offset, gboolean include_defaults, gint *start_offset, gint *end_offset, GError **error); +#ifndef ATSPI_DISABLE_DEPRECATED gchar * atspi_text_get_attribute_value (AtspiText *obj, gint offset, gchar *attribute_name, GError **error); +#endif + +gchar * atspi_text_get_text_attribute_value (AtspiText *obj, gint offset, gchar *attribute_name, GError **error); GHashTable * atspi_text_get_default_attributes (AtspiText *obj, GError **error); |