Fix atspi_table_get_row_column_extents_at_index
authorMike Gorse <mgorse@novell.com>
Thu, 23 Feb 2012 20:51:51 +0000 (14:51 -0600)
committerMike Gorse <mgorse@novell.com>
Thu, 23 Feb 2012 20:51:51 +0000 (14:51 -0600)
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.

atspi/atspi-table.c

index 66a490a..b17e2f1 100644 (file)
@@ -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;