Drop use of ATK_DISABLE_DEPRECATED guards in atk
[platform/upstream/atk.git] / atk / atkrelation.c
index da9cdb7..cc1807e 100755 (executable)
@@ -130,7 +130,7 @@ atk_relation_type_register (const gchar *name)
  *
  * Returns: the string describing the AtkRelationType
  */
-G_CONST_RETURN gchar*
+const gchar*
 atk_relation_type_get_name (AtkRelationType type)
 {
   GTypeClass *type_class;
@@ -217,7 +217,8 @@ atk_relation_type_for_name (const gchar *name)
 
 /**
  * atk_relation_new:
- * @targets: an array of pointers to #AtkObjects  
+ * @targets: (array length=n_targets): an array of pointers to
+ *  #AtkObjects
  * @n_targets: number of #AtkObjects pointed to by @targets
  * @relationship: an #AtkRelationType with which to create the new
  *  #AtkRelation
@@ -282,7 +283,7 @@ atk_relation_get_relation_type (AtkRelation *relation)
  *
  * Gets the target list of @relation
  *
- * Returns: the target list of @relation
+ * Returns: (transfer none) (element-type Atk.Object): the target list of @relation
  **/
 GPtrArray*
 atk_relation_get_target (AtkRelation *relation)
@@ -313,7 +314,7 @@ delete_object_while_in_relation (gpointer callback_data,
  * not already present.  See also atk_object_add_relationship().
  *
  *
- * Since: ATK 1.9
+ * Since: 1.9
  **/
 void
 atk_relation_add_target (AtkRelation *relation,