summaryrefslogtreecommitdiff
path: root/atk
diff options
context:
space:
mode:
Diffstat (limited to 'atk')
-rw-r--r--atk/atk.def7
-rwxr-xr-xatk/atktext.c18
-rwxr-xr-xatk/atktext.h8
3 files changed, 17 insertions, 16 deletions
diff --git a/atk/atk.def b/atk/atk.def
index cbc0d76..5e4ab1f 100644
--- a/atk/atk.def
+++ b/atk/atk.def
@@ -9,9 +9,6 @@ EXPORTS
atk_add_focus_tracker
atk_add_global_event_listener
atk_add_key_event_listener
- atk_attribute_get_value
- atk_attribute_for_name
- atk_attribute_register
atk_attribute_set_free
atk_component_add_focus_handler
atk_component_contains
@@ -176,7 +173,11 @@ EXPORTS
atk_table_set_summary
atk_text_add_selection
atk_text_get_caret_offset
+ atk_text_attribute_get_name
atk_text_attribute_get_type
+ atk_text_attribute_get_value
+ atk_text_attribute_for_name
+ atk_text_attribute_register
atk_text_get_character_at_offset
atk_text_get_character_count
atk_text_get_character_extents
diff --git a/atk/atktext.c b/atk/atktext.c
index 4ab7415..c0331c5 100755
--- a/atk/atktext.c
+++ b/atk/atktext.c
@@ -864,7 +864,7 @@ atk_attribute_set_free (AtkAttributeSet *attrib_set)
}
/**
- * atk_attribute_register:
+ * atk_text_attribute_register:
* @name: a name string
*
* Associate @name with a new #AtkTextAttribute
@@ -872,7 +872,7 @@ atk_attribute_set_free (AtkAttributeSet *attrib_set)
* Returns: an #AtkTextAttribute associated with @name
**/
AtkTextAttribute
-atk_attribute_register (const gchar *name)
+atk_text_attribute_register (const gchar *name)
{
g_return_val_if_fail (name, ATK_TEXT_ATTR_INVALID);
@@ -884,7 +884,7 @@ atk_attribute_register (const gchar *name)
}
/**
- * atk_attribute_get_name:
+ * atk_text_attribute_get_name:
* @attr: The #AtkTextAttribute whose name is required
*
* Gets the name corresponding to the #AtkTextAttribute
@@ -892,7 +892,7 @@ atk_attribute_register (const gchar *name)
* Returns: a string containing the name; this string should not be freed
**/
G_CONST_RETURN gchar*
-atk_attribute_get_name (AtkTextAttribute attr)
+atk_text_attribute_get_name (AtkTextAttribute attr)
{
GTypeClass *type_class;
GEnumValue *value;
@@ -925,7 +925,7 @@ atk_attribute_get_name (AtkTextAttribute attr)
}
/**
- * atk_attribute_for_name:
+ * atk_text_attribute_for_name:
* @name: a string which is the (non-localized) name of an ATK text attribute.
*
* Get the #AtkTextAttribute type corresponding to a text attribute name.
@@ -935,7 +935,7 @@ name,
* or #ATK_TEXT_ATTRIBUTE_INVALID if no matching text attribute is found.
**/
AtkTextAttribute
-atk_attribute_for_name (const gchar *name)
+atk_text_attribute_for_name (const gchar *name)
{
GTypeClass *type_class;
GEnumValue *value;
@@ -979,7 +979,7 @@ atk_attribute_for_name (const gchar *name)
/**
- * atk_attribute_get_value:
+ * atk_text_attribute_get_value:
* @attr: The #AtkTextAttribute for which a value is required
* @index: The index of the required value
*
@@ -989,8 +989,8 @@ atk_attribute_for_name (const gchar *name)
* NULL is returned if there are no values maintained for the attr value.
**/
G_CONST_RETURN gchar*
-atk_attribute_get_value (AtkTextAttribute attr,
- gint index)
+atk_text_attribute_get_value (AtkTextAttribute attr,
+ gint index)
{
switch (attr)
{
diff --git a/atk/atktext.h b/atk/atktext.h
index 80378ab..bc12a6f 100755
--- a/atk/atktext.h
+++ b/atk/atktext.h
@@ -122,7 +122,7 @@ typedef enum
ATK_TEXT_ATTR_LAST_DEFINED
} AtkTextAttribute;
-AtkTextAttribute atk_attribute_register (const gchar *name);
+AtkTextAttribute atk_text_attribute_register (const gchar *name);
#define ATK_TYPE_TEXT (atk_text_get_type ())
@@ -293,9 +293,9 @@ gboolean atk_text_set_selection (AtkText *tex
gboolean atk_text_set_caret_offset (AtkText *text,
gint offset);
void atk_attribute_set_free (AtkAttributeSet *attrib_set);
-G_CONST_RETURN gchar* atk_attribute_get_name (AtkTextAttribute attr);
-AtkTextAttribute atk_attribute_for_name (const gchar *name);
-G_CONST_RETURN gchar* atk_attribute_get_value (AtkTextAttribute attr,
+G_CONST_RETURN gchar* atk_text_attribute_get_name (AtkTextAttribute attr);
+AtkTextAttribute atk_text_attribute_for_name (const gchar *name);
+G_CONST_RETURN gchar* atk_text_attribute_get_value (AtkTextAttribute attr,
gint index);
#ifdef __cplusplus