From: Brad Taylor Date: Thu, 23 Apr 2009 10:12:59 +0000 (-0400) Subject: Last of the UInt32 casts X-Git-Tag: AT_SPI2_ATK_2_12_0~516 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=effb3517581fd6174a16c0dbaabe47a776773dce Last of the UInt32 casts --- diff --git a/pyatspi/component.py b/pyatspi/component.py index 335b30a..9e7b36f 100644 --- a/pyatspi/component.py +++ b/pyatspi/component.py @@ -93,7 +93,7 @@ class Component(Accessible): bounding box, False otherwise. """ func = self.get_dbus_method("contains", dbus_interface=ATSPI_COMPONENT) - return func(x, y, coord_type) + return func(x, y, UInt32(coord_type)) def getAccessibleAtPoint(self, x, y, coord_type): """ @@ -102,7 +102,7 @@ class Component(Accessible): """ func = self.get_dbus_method("getAccessibleAtPoint", dbus_interface=ATSPI_COMPONENT) return self._cache.create_accessible(self._app_name, - func(x, y, coord_type), + func(x, y, UInt32(coord_type)), interfaces.ATSPI_COMPONENT) def getAlpha(self):