[at-spi2-core] Using value instead of memory address when calling _atspi_dbus_call



commit 9fb0a92c4e05a962d235042e83b0aae5130c34cf
Author: Josà MillÃn Soto <fid gpul org>
Date:   Wed Jan 4 13:48:48 2012 +0100

    Using value instead of memory address when calling _atspi_dbus_call
    
    The following functions are changed: atspi_selection_select_child,
    atspi_selection_deselect_child and atspi_selection_is_child_selected
    
    Fixes bug 667254

 atspi/atspi-selection.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/atspi/atspi-selection.c b/atspi/atspi-selection.c
index bc5e19e..7318989 100644
--- a/atspi/atspi-selection.c
+++ b/atspi/atspi-selection.c
@@ -105,7 +105,7 @@ atspi_selection_select_child (AtspiSelection *obj,
 
   g_return_val_if_fail (obj != NULL, FALSE);
 
-  _atspi_dbus_call (obj, atspi_interface_selection, "SelectChild", error, "i=>b", &d_child_index, &retval);
+  _atspi_dbus_call (obj, atspi_interface_selection, "SelectChild", error, "i=>b", d_child_index, &retval);
 
   return retval;
 }
@@ -163,7 +163,7 @@ atspi_selection_deselect_child (AtspiSelection *obj,
 
   g_return_val_if_fail (obj != NULL, FALSE);
 
-  _atspi_dbus_call (obj, atspi_interface_selection, "DeselectChild", error, "i=>b", &d_child_index, &retval);
+  _atspi_dbus_call (obj, atspi_interface_selection, "DeselectChild", error, "i=>b", d_child_index, &retval);
 
   return retval;
 }
@@ -190,7 +190,7 @@ atspi_selection_is_child_selected (AtspiSelection *obj,
 
   g_return_val_if_fail (obj != NULL, FALSE);
 
-  _atspi_dbus_call (obj, atspi_interface_selection, "IsChildSelected", error, "i=>b", &d_child_index, &retval);
+  _atspi_dbus_call (obj, atspi_interface_selection, "IsChildSelected", error, "i=>b", d_child_index, &retval);
 
   return retval;
 }



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