X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=atk%2Fatktablecell.c;h=1cec6fa2b18d6566e1b57d0175f3f1ffe14af6a5;hb=91469053dfedda0b56fd9eb62a234ccdf68cc6ad;hp=9218b0927dc7d1c8815f2004b66e229e01e66109;hpb=a3b6bb15885b5c59fc7bf2283bbb1fb06b602ba7;p=platform%2Fupstream%2Fatk.git diff --git a/atk/atktablecell.c b/atk/atktablecell.c index 9218b09..1cec6fa 100644 --- a/atk/atktablecell.c +++ b/atk/atktablecell.c @@ -17,6 +17,8 @@ * Boston, MA 02111-1307, USA. */ +#include "config.h" + #include "atktablecell.h" @@ -56,6 +58,8 @@ atk_table_cell_default_init (AtkTableCellInterface *iface) * * Returns: a gint representing the number of columns occupied by this cell, * or 0 if the cell does not implement this method. + * + * Since: 2.12 */ gint atk_table_cell_get_column_span (AtkTableCell *cell) @@ -80,6 +84,8 @@ atk_table_cell_get_column_span (AtkTableCell *cell) * * Returns: (element-type AtkObject) (transfer full): a GPtrArray of AtkObjects * representing the column header cells. + * + * Since: 2.12 */ GPtrArray * atk_table_cell_get_column_header_cells (AtkTableCell *cell) @@ -105,6 +111,8 @@ atk_table_cell_get_column_header_cells (AtkTableCell *cell) * Retrieves the tabular position of this cell. * * Returns: TRUE if successful; FALSE otherwise. + * + * Since: 2.12 */ gboolean atk_table_cell_get_position (AtkTableCell *cell, @@ -137,6 +145,8 @@ atk_table_cell_get_position (AtkTableCell *cell, * * Returns: a gint representing the number of rows occupied by this cell, * or 0 if the cell does not implement this method. + * + * Since: 2.12 */ gint atk_table_cell_get_row_span (AtkTableCell *cell) @@ -161,6 +171,8 @@ atk_table_cell_get_row_span (AtkTableCell *cell) * * Returns: (element-type AtkObject) (transfer full): a GPtrArray of AtkObjects * representing the row header cells. + * + * Since: 2.12 */ GPtrArray * atk_table_cell_get_row_header_cells (AtkTableCell *cell) @@ -192,6 +204,8 @@ atk_table_cell_get_row_header_cells (AtkTableCell *cell) * on the object. * * Returns: TRUE if successful; FALSE otherwise. + * + * Since: 2.12 */ gboolean atk_table_cell_get_row_column_span (AtkTableCell *cell, @@ -230,6 +244,8 @@ atk_table_cell_get_row_column_span (AtkTableCell *cell, * Returns a reference to the accessible of the containing table. * * Returns: (transfer full): the atk object for the containing table. + * + * Since: 2.12 */ AtkObject * atk_table_cell_get_table (AtkTableCell *cell) @@ -256,5 +272,6 @@ atk_table_cell_real_get_row_column_span (AtkTableCell *cell, atk_table_cell_get_position (cell, row, column); *row_span = atk_table_cell_get_row_span (cell); *column_span = atk_table_cell_get_column_span (cell); - return (row != 0 && column != 0 && row_span > 0 && column_span > 0); + + return (*row != 0 && *column != 0 && *row_span > 0 && *column_span > 0); }