[at-spi2-core] Pass the right parameter to _atspi_dbus_call() from atspi_value_set_current_value().



commit 8ae8e84bed23c8bf7622c6442af93926853cd047
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Mon Mar 21 23:22:57 2011 +0100

    Pass the right parameter to _atspi_dbus_call() from atspi_value_set_current_value().
    
    Bug #35523

 atspi/atspi-value.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-value.c b/atspi/atspi-value.c
index 25f32af..ed2e7df 100644
--- a/atspi/atspi-value.c
+++ b/atspi/atspi-value.c
@@ -101,7 +101,7 @@ atspi_value_set_current_value (AtspiValue *obj, gdouble new_value, GError **erro
 
   g_return_val_if_fail (obj != NULL, FALSE);
 
-  _atspi_dbus_call (obj, atspi_interface_value, "SetCurrentValue", error, "d", &d_new_value);
+  _atspi_dbus_call (obj, atspi_interface_value, "SetCurrentValue", error, "d", d_new_value);
 
   return TRUE;
 }



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