Change a couple of enums and types from 16-bit to 32-bit to match spec
authorMike Gorse <mgorse@novell.com>
Thu, 17 Feb 2011 20:47:28 +0000 (14:47 -0600)
committerMike Gorse <mgorse@novell.com>
Thu, 17 Feb 2011 20:47:28 +0000 (14:47 -0600)
atspi/atspi-component.c
atspi/atspi-image.c

index c85e4a0..a4c3632 100644 (file)
@@ -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);
 }
index 4762986..b6536b6 100644 (file)
@@ -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;