[at-spi2-core] Replaced deprecated "Rename to" GTK-Doc tag



commit b7bd063e3cd805bc50bf03c5e12087b1553436a2
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Tue Nov 25 13:08:42 2014 +0100

    Replaced deprecated "Rename to" GTK-Doc tag
    
    Replaced by the gi annotation rename-to on the identifier.

 atspi/atspi-accessible.c |   33 +++++++++++----------------------
 atspi/atspi-action.c     |    6 ++----
 atspi/atspi-document.c   |    6 ++----
 atspi/atspi-text.c       |    6 ++----
 4 files changed, 17 insertions(+), 34 deletions(-)
---
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c
index 3a1c93c..2d77357 100644
--- a/atspi/atspi-accessible.c
+++ b/atspi/atspi-accessible.c
@@ -1103,7 +1103,7 @@ atspi_accessible_is_value (AtspiAccessible *obj)
 }
 
 /**
- * atspi_accessible_get_action:
+ * atspi_accessible_get_action: (rename-to atspi_accessible_get_action_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiAction interface for an #AtspiAccessible.
@@ -1112,7 +1112,6 @@ atspi_accessible_is_value (AtspiAccessible *obj)
  *          instance, or NULL if @obj does not implement #AtspiAction.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_action_iface instead.
- * Rename to: atspi_accessible_get_action_iface
  **/
 AtspiAction *
 atspi_accessible_get_action (AtspiAccessible *accessible)
@@ -1138,7 +1137,7 @@ atspi_accessible_get_action_iface (AtspiAccessible *accessible)
 }
 
 /**
- * atspi_accessible_get_collection:
+ * atspi_accessible_get_collection: (rename-to atspi_accessible_get_collection_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiCollection interface for an #AtspiAccessible.
@@ -1147,7 +1146,6 @@ atspi_accessible_get_action_iface (AtspiAccessible *accessible)
  *          instance, or NULL if @obj does not implement #AtspiCollection.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_collection_iface instead.
- * Rename to: atspi_accessible_get_collection_iface
  **/
 AtspiCollection *
 atspi_accessible_get_collection (AtspiAccessible *accessible)
@@ -1173,7 +1171,7 @@ atspi_accessible_get_collection_iface (AtspiAccessible *accessible)
 }
 
 /**
- * atspi_accessible_get_component:
+ * atspi_accessible_get_component: (rename-to atspi_accessible_get_component_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiComponent interface for an #AtspiAccessible.
@@ -1182,7 +1180,6 @@ atspi_accessible_get_collection_iface (AtspiAccessible *accessible)
  *          instance, or NULL if @obj does not implement #AtspiComponent.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_component_iface instead.
- * Rename to: atspi_accessible_get_component_iface
  **/
 AtspiComponent *
 atspi_accessible_get_component (AtspiAccessible *obj)
@@ -1208,7 +1205,7 @@ atspi_accessible_get_component_iface (AtspiAccessible *obj)
 }
 
 /**
- * atspi_accessible_get_document:
+ * atspi_accessible_get_document: (rename-to atspi_accessible_get_document_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiDocument interface for an #AtspiAccessible.
@@ -1217,7 +1214,6 @@ atspi_accessible_get_component_iface (AtspiAccessible *obj)
  *          instance, or NULL if @obj does not implement #AtspiDocument.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_document_iface instead.
- * Rename to: atspi_accessible_get_document_iface
  **/
 AtspiDocument *
 atspi_accessible_get_document (AtspiAccessible *accessible)
@@ -1243,7 +1239,7 @@ atspi_accessible_get_document_iface (AtspiAccessible *accessible)
 }
 
 /**
- * atspi_accessible_get_editable_text:
+ * atspi_accessible_get_editable_text: (rename-to atspi_accessible_get_editable_text_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiEditableText interface for an #AtspiAccessible.
@@ -1252,7 +1248,6 @@ atspi_accessible_get_document_iface (AtspiAccessible *accessible)
  *          instance, or NULL if @obj does not implement #AtspiEditableText.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_editable_text_iface instead.
- * Rename to: atspi_accessible_get_editable_text_iface
  **/
 AtspiEditableText *
 atspi_accessible_get_editable_text (AtspiAccessible *accessible)
@@ -1294,7 +1289,7 @@ atspi_accessible_get_hyperlink (AtspiAccessible *accessible)
 }
 
 /**
- * atspi_accessible_get_hypertext:
+ * atspi_accessible_get_hypertext: (rename-to atspi_accessible_get_hypertext_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiHypertext interface for an #AtspiAccessible.
@@ -1303,7 +1298,6 @@ atspi_accessible_get_hyperlink (AtspiAccessible *accessible)
  *          instance, or NULL if @obj does not implement #AtspiHypertext.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_hypertext_iface instead.
- * Rename to: atspi_accessible_get_hypertext_iface
  **/
 AtspiHypertext *
 atspi_accessible_get_hypertext (AtspiAccessible *accessible)
@@ -1329,7 +1323,7 @@ atspi_accessible_get_hypertext_iface (AtspiAccessible *accessible)
 }
 
 /**
- * atspi_accessible_get_image:
+ * atspi_accessible_get_image: (rename-to atspi_accessible_get_image_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiImage interface for an #AtspiAccessible.
@@ -1338,7 +1332,6 @@ atspi_accessible_get_hypertext_iface (AtspiAccessible *accessible)
  *          NULL if @obj does not implement #AtspiImage.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_image_iface instead.
- * Rename to: atspi_accessible_get_image_iface
  **/
 AtspiImage *
 atspi_accessible_get_image (AtspiAccessible *accessible)
@@ -1364,7 +1357,7 @@ atspi_accessible_get_image_iface (AtspiAccessible *accessible)
 }
 
 /**
- * atspi_accessible_get_selection:
+ * atspi_accessible_get_selection: (rename-to atspi_accessible_get_selection_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiSelection interface for an #AtspiAccessible.
@@ -1373,7 +1366,6 @@ atspi_accessible_get_image_iface (AtspiAccessible *accessible)
  *          instance, or NULL if @obj does not implement #AtspiSelection.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_selection_iface instead.
- * Rename to: atspi_accessible_get_selection_iface
  **/
 AtspiSelection *
 atspi_accessible_get_selection (AtspiAccessible *accessible)
@@ -1417,7 +1409,7 @@ atspi_accessible_get_streamable_content (AtspiAccessible *accessible)
 #endif
 
 /**
- * atspi_accessible_get_table:
+ * atspi_accessible_get_table: (rename-to atspi_accessible_get_table_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiTable interface for an #AtspiAccessible.
@@ -1426,7 +1418,6 @@ atspi_accessible_get_streamable_content (AtspiAccessible *accessible)
  *          NULL if @obj does not implement #AtspiTable.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_table_iface instead.
- * Rename to: atspi_accessible_get_table_iface
  **/
 AtspiTable *
 atspi_accessible_get_table (AtspiAccessible *obj)
@@ -1468,7 +1459,7 @@ atspi_accessible_get_table_cell (AtspiAccessible *obj)
 }
 
 /**
- * atspi_accessible_get_text:
+ * atspi_accessible_get_text: (rename-to atspi_accessible_get_text_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiTable interface for an #AtspiAccessible.
@@ -1477,7 +1468,6 @@ atspi_accessible_get_table_cell (AtspiAccessible *obj)
  *          NULL if @obj does not implement #AtspiText.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_text_iface instead.
- * Rename to: atspi_accessible_get_text_iface
  **/
 AtspiText *
 atspi_accessible_get_text (AtspiAccessible *obj)
@@ -1503,7 +1493,7 @@ atspi_accessible_get_text_iface (AtspiAccessible *obj)
 }
 
 /**
- * atspi_accessible_get_value:
+ * atspi_accessible_get_value: (rename-to atspi_accessible_get_value_iface)
  * @obj: a pointer to the #AtspiAccessible instance to query.
  *
  * Gets the #AtspiTable interface for an #AtspiAccessible.
@@ -1512,7 +1502,6 @@ atspi_accessible_get_text_iface (AtspiAccessible *obj)
  *          NULL if @obj does not implement #AtspiValue.
  *
  * Deprecated: 2.10: Use atspi_accessible_get_value_iface instead.
- * Rename to: atspi_accessible_get_value_iface
  **/
 AtspiValue *
 atspi_accessible_get_value (AtspiAccessible *accessible)
diff --git a/atspi/atspi-action.c b/atspi/atspi-action.c
index 17b6302..731773a 100644
--- a/atspi/atspi-action.c
+++ b/atspi/atspi-action.c
@@ -44,7 +44,7 @@ atspi_action_get_n_actions (AtspiAction *obj, GError **error)
 }
 
 /**
- * atspi_action_get_description:
+ * atspi_action_get_description: (rename-to atspi_action_get_action_description)
  * @obj: a pointer to the #AtspiAction implementor to query.
  * @i: an integer indicating which action to query.
  *
@@ -54,7 +54,6 @@ atspi_action_get_n_actions (AtspiAction *obj, GError **error)
  * Returns: a UTF-8 string describing the '@i-th' invocable action.
  *
  * Deprecated: 2.10: Use atspi_action_get_action_description instead.
- * Rename to: atspi_action_get_action_description
  **/
 gchar *
 atspi_action_get_description (AtspiAction *obj, int i, GError **error)
@@ -129,7 +128,7 @@ atspi_action_get_key_binding (AtspiAction *obj, gint i, GError **error)
 }
 
 /**
- * atspi_action_get_name:
+ * atspi_action_get_name: (rename-to atspi_action_get_action_name)
  * @obj: a pointer to the #AtspiAction implementor to query.
  * @i: an integer indicating which action to query.
  *
@@ -139,7 +138,6 @@ atspi_action_get_key_binding (AtspiAction *obj, gint i, GError **error)
  * Returns: the non-localized name of the action, as a UTF-8 string.
  *
  * Deprecated: 2.10: Use atspi_action_get_action_name instead.
- * Rename to: atspi_action_get_action_name
  **/
 gchar *
 atspi_action_get_name (AtspiAction *obj, gint i, GError **error)
diff --git a/atspi/atspi-document.c b/atspi/atspi-document.c
index bd3ac4c..98dfc4f 100644
--- a/atspi/atspi-document.c
+++ b/atspi/atspi-document.c
@@ -45,7 +45,7 @@ atspi_document_get_locale (AtspiDocument *obj, GError **error)
 }
 
 /**
- * atspi_document_get_attribute_value:
+ * atspi_document_get_attribute_value: (rename-to atspi_document_get_document_attribute_value)
  * @obj: a pointer to the #AtspiDocument object on which to operate.
  * @attribute: a string indicating the name of a specific attribute.
  *
@@ -55,7 +55,6 @@ atspi_document_get_locale (AtspiDocument *obj, GError **error)
  * an empty string if the attribute is unspecified for the object.
  *
  * Deprecated: 2.10: Use atspi_document_get_document_attribute_value instead.
- * Rename to: atspi_document_get_document_attribute_value
  **/
 gchar *
 atspi_document_get_attribute_value (AtspiDocument *obj,
@@ -94,7 +93,7 @@ atspi_document_get_document_attribute_value (AtspiDocument *obj,
                                      
 
 /**
- * atspi_document_get_attributes:
+ * atspi_document_get_attributes: (rename-to atspi_document_get_document_attributes)
  * @obj: a pointer to the #AtspiDocument object on which to operate.
  * 
  * Gets all constant attributes for the document as a whole. For attributes
@@ -104,7 +103,6 @@ atspi_document_get_document_attribute_value (AtspiDocument *obj,
  *          containing the constant attributes of the document, as name-value pairs.
  *
  * Deprecated: 2.10: Use atspi_document_get_document_attributes instead.
- * Rename to: atspi_document_get_document_attributes
  **/
 GHashTable *
 atspi_document_get_attributes (AtspiDocument *obj, GError **error)
diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c
index 98a454b..6639fd4 100644
--- a/atspi/atspi-text.c
+++ b/atspi/atspi-text.c
@@ -138,7 +138,7 @@ atspi_text_get_caret_offset (AtspiText *obj, GError **error)
 }
 
 /**
- * atspi_text_get_attributes:
+ * atspi_text_get_attributes: (rename-to atspi_text_get_text_attributes)
  * @obj: a pointer to the #AtspiText object to query.
  * @offset: a #gint indicating the offset from which the attribute
  *        search is based.
@@ -156,7 +156,6 @@ atspi_text_get_caret_offset (AtspiText *obj, GError **error)
  * describing the attributes at the given character offset.
  *
  * Deprecated: 2.10: Use atspi_text_get_text_attributes instead.
- * Rename to: atspi_text_get_text_attributes
  **/
 GHashTable *
 atspi_text_get_attributes (AtspiText *obj,
@@ -280,7 +279,7 @@ atspi_text_get_attribute_run (AtspiText *obj,
 }
 
 /**
- * atspi_text_get_attribute_value:
+ * atspi_text_get_attribute_value: (rename-to atspi_text_get_text_attribute_value)
  * @obj: a pointer to the #AtspiText object to query.
  * @offset: The character offset at which to query the attribute.
  * @attribute_name: The attribute to query.
@@ -291,7 +290,6 @@ atspi_text_get_attribute_run (AtspiText *obj,
  * offset, or %NULL if not present.
  *
  * Deprecated: 2.10: Use atspi_text_get_text_attribute_value instead.
- * Rename to: atspi_text_get_text_attribute_value
  **/
 gchar *
 atspi_text_get_attribute_value (AtspiText *obj,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]