Do not dist gir_DATA
[platform/upstream/atk.git] / atk / atktable.c
index 6f1b644..5cecaf6 100755 (executable)
@@ -148,6 +148,8 @@ atk_table_ref_at (AtkTable *table,
   AtkTableIface *iface;
 
   g_return_val_if_fail (ATK_IS_TABLE (table), NULL);
+  g_return_val_if_fail (row >= 0, NULL);
+  g_return_val_if_fail (column >= 0, NULL);
 
   iface = ATK_TABLE_GET_IFACE (table);
 
@@ -164,10 +166,10 @@ atk_table_ref_at (AtkTable *table,
  * @column: a #gint representing a column in @table
  *
  * Gets a #gint representing the index at the specified @row and @column.
+ *
+ * Returns: a #gint representing the index at specified position.
  * The value -1 is returned if the object at row,column is not a child
  * of table or table does not implement this interface.
- *
- * Returns: a #gint representing the index at specified position 
  **/
 gint
 atk_table_get_index_at (AtkTable *table,
@@ -191,12 +193,12 @@ atk_table_get_index_at (AtkTable *table,
 /**
  * atk_table_get_row_at_index:
  * @table: a GObject instance that implements AtkTableInterface
- * @index: a #gint representing an index in @table
+ * @index_: a #gint representing an index in @table
  *
- * Gets a #gint representing the row at the specified @index, or -1
- * if the table does not implement this interface
+ * Gets a #gint representing the row at the specified @index_.
  *
- * Returns: a gint representing the row at the specified index.
+ * Returns: a gint representing the row at the specified index,
+ * or -1 if the table does not implement this interface
  **/
 gint
 atk_table_get_row_at_index (AtkTable *table,
@@ -217,12 +219,12 @@ atk_table_get_row_at_index (AtkTable *table,
 /**
  * atk_table_get_column_at_index:
  * @table: a GObject instance that implements AtkTableInterface
- * @index: a #gint representing an index in @table
+ * @index_: a #gint representing an index in @table
  *
- * Gets a #gint representing the column at the specified @index, or -1
- * if the table does not implement this interface
+ * Gets a #gint representing the column at the specified @index_. 
  *
- * Returns: a gint representing the column at the specified index.
+ * Returns: a gint representing the column at the specified index,
+ * or -1 if the table does not implement this interface
  **/
 gint
 atk_table_get_column_at_index (AtkTable *table,