X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=atk%2Fatktable.c;h=5cecaf60ca423ab3b51fcf071df194fd587331ca;hb=7c4ce738a0d81d8dcae66528e322298b2a245d27;hp=6f1b6442cc1fe7bd24cb9725373280cb8820db54;hpb=59c9d3c27c3bcdf995b712db8699f916aeabb01f;p=platform%2Fupstream%2Fatk.git diff --git a/atk/atktable.c b/atk/atktable.c index 6f1b644..5cecaf6 100755 --- a/atk/atktable.c +++ b/atk/atktable.c @@ -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,