[at-spi2-core] Change a couple of enums and types from 16-bit to 32-bit to match spec



commit fe1d7ed88ac5d931029d008c727823de2c1d5e0a
Author: Mike Gorse <mgorse novell com>
Date:   Thu Feb 17 14:47:28 2011 -0600

    Change a couple of enums and types from 16-bit to 32-bit to match spec

 atspi/atspi-component.c |    4 ++--
 atspi/atspi-image.c     |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/atspi/atspi-component.c b/atspi/atspi-component.c
index c85e4a0..a4c3632 100644
--- a/atspi/atspi-component.c
+++ b/atspi/atspi-component.c
@@ -116,12 +116,12 @@ atspi_component_get_accessible_at_point (AtspiComponent *obj,
                                           AtspiCoordType ctype, GError **error)
 {
   dbus_int32_t d_x = x, d_y = y;
-  dbus_uint16_t d_ctype = ctype;
+  dbus_uint32_t d_ctype = ctype;
   DBusMessage *reply;
 
   g_return_val_if_fail (obj != NULL, FALSE);
 
-  reply = _atspi_dbus_call_partial (obj, atspi_interface_component, "GetAccessibleAtPoint", error, "iin", d_x, d_y, d_ctype);
+  reply = _atspi_dbus_call_partial (obj, atspi_interface_component, "GetAccessibleAtPoint", error, "iiu", d_x, d_y, d_ctype);
 
   return _atspi_dbus_return_accessible_from_message (reply);
 }
diff --git a/atspi/atspi-image.c b/atspi/atspi-image.c
index 4762986..b6536b6 100644
--- a/atspi/atspi-image.c
+++ b/atspi/atspi-image.c
@@ -81,7 +81,7 @@ atspi_image_get_image_position (AtspiImage *obj,
                                 GError **error)
 {
   dbus_int32_t d_x, d_y;
-  dbus_uint16_t d_ctype = ctype;
+  dbus_uint32_t d_ctype = ctype;
   AtspiPoint ret;
 
   ret.x = ret.y = 0;



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