summaryrefslogtreecommitdiff
path: root/atspi/atspi-text.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2010-12-09 16:13:11 -0500
committerMike Gorse <mgorse@novell.com>2010-12-09 16:13:39 -0500
commitf0d109c0b784e2554b0e3410310e9ee5221d7dee (patch)
treeb1090268e62fe306eea9c7c77c3130c93efae4cf /atspi/atspi-text.h
parenta65f04d50d97730b496cfa0d414c9a2907036c52 (diff)
downloadat-spi2-core-f0d109c0b784e2554b0e3410310e9ee5221d7dee.tar.gz
Some attribute-related fixes
Diffstat (limited to 'atspi/atspi-text.h')
-rw-r--r--atspi/atspi-text.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/atspi/atspi-text.h b/atspi/atspi-text.h
index 2c045d9c..e4ff6de4 100644
--- a/atspi/atspi-text.h
+++ b/atspi/atspi-text.h
@@ -50,23 +50,6 @@ GType atspi_range_get_type ();
AtspiRange *
atspi_range_copy (AtspiRange *src);
-typedef struct _AtspiRangedAttributeSet AtspiRangedAttributeSet;
-struct _AtspiRangedAttributeSet
-{
- GHashTable *attributes;
- gint start_offset;
- gint end_offset;
-};
-
-/**
- * ATSPI_TYPE_RANGED_ATTRIBUTE_SET:
- *
- * The #GType for a boxed type holding an attribute set within a text block.
- */
-#define ATSPI_TYPE_RANGED_ATTRIBUTE_SET atspi_ranged_attribute_set_get_type ()
-
-GType atspi_ranged_attribute_set_get_type ();
-
typedef struct _AtspiTextRange AtspiTextRange;
struct _AtspiTextRange
{
@@ -103,9 +86,9 @@ gchar * atspi_text_get_text (AtspiText *obj, gint start_offset, gint end_offset,
gint atspi_text_get_caret_offset (AtspiText *obj, GError **error);
-AtspiRangedAttributeSet * atspi_text_get_attributes (AtspiText *obj, gint offset, GError **error);
+GHashTable *atspi_text_get_attributes (AtspiText *obj, gint offset, gint *start_offset, gint *end_offset, GError **error);
-AtspiRangedAttributeSet * atspi_text_get_attribute_run (AtspiText *obj, gint offset, gboolean include_defaults, GError **error);
+GHashTable *atspi_text_get_attribute_run (AtspiText *obj, gint offset, gboolean include_defaults, gint *start_offset, gint *end_offset, GError **error);
gchar * atspi_text_get_attribute_value (AtspiText *obj, gint offset, gchar *attribute_name, GError **error);