summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2015-09-24 17:07:21 +0200
committerAlejandro Piñeiro <apinheiro@igalia.com>2015-09-24 17:07:21 +0200
commit381c3f2d67e1a0d751cba03b81e5d28b2e9b309a (patch)
treef97e8d4691ceee68a3588c439bcb633cef8e8067
parenteacc351ec797f5fe477844e3012d460c195b4d88 (diff)
downloadatk-381c3f2d67e1a0d751cba03b81e5d28b2e9b309a.tar.gz
atktablecell: use content of the pointer instead of pointer itself
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=755548
-rw-r--r--atk/atktablecell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/atk/atktablecell.c b/atk/atktablecell.c
index 9b1c349..1cec6fa 100644
--- a/atk/atktablecell.c
+++ b/atk/atktablecell.c
@@ -272,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);
}