summaryrefslogtreecommitdiff
path: root/atspi/atspi-table.c
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2012-02-23 14:51:51 -0600
committerMike Gorse <mgorse@novell.com>2012-02-23 14:51:51 -0600
commit9f8b084195c74409be5219520b98c4bc6d616a00 (patch)
tree3d0a54770c52d27efde62f73cba376f43e4736a5 /atspi/atspi-table.c
parent5f78f9231ad9d5d6b89a1de349e401d096d9292a (diff)
downloadat-spi2-core-9f8b084195c74409be5219520b98c4bc6d616a00.tar.gz
Fix atspi_table_get_row_column_extents_at_index
atspi_table_get_row_column_extents_at_index was trying to read parameters from the dbus message in the wrong order and also not returning the row.
Diffstat (limited to 'atspi/atspi-table.c')
-rw-r--r--atspi/atspi-table.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/atspi/atspi-table.c b/atspi/atspi-table.c
index 66a490a0..b17e2f1c 100644
--- a/atspi/atspi-table.c
+++ b/atspi/atspi-table.c
@@ -680,8 +680,11 @@ atspi_table_get_row_column_extents_at_index (AtspiTable *obj,
g_return_val_if_fail (obj != NULL, FALSE);
- _atspi_dbus_call (obj, atspi_interface_table, "GetRowColumnExtentsAtIndex", error, "i=>iiiibb", d_index, &d_row, &d_col, &d_row_extents, &d_col_extents, &d_is_selected, &retval);
+ _atspi_dbus_call (obj, atspi_interface_table, "GetRowColumnExtentsAtIndex",
+ error, "i=>biiiib", d_index, &retval, &d_row, &d_col,
+ &d_row_extents, &d_col_extents, &d_is_selected);
+ *row = d_row;
*col = d_col;
*row_extents = d_row_extents;;
*col_extents = d_col_extents;