[at-spi2-core] Fix atspi_table_get_row_column_extents_at_index



commit 9f8b084195c74409be5219520b98c4bc6d616a00
Author: Mike Gorse <mgorse novell com>
Date:   Thu Feb 23 14:51:51 2012 -0600

    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.

 atspi/atspi-table.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-table.c b/atspi/atspi-table.c
index 66a490a..b17e2f1 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]