projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6fb632e
)
Last of the UInt32 casts
author
Brad Taylor
<brad@getcoded.net>
Thu, 23 Apr 2009 10:12:59 +0000
(06:12 -0400)
committer
Brad Taylor
<brad@getcoded.net>
Thu, 23 Apr 2009 10:12:59 +0000
(06:12 -0400)
pyatspi/component.py
patch
|
blob
|
history
diff --git
a/pyatspi/component.py
b/pyatspi/component.py
index
335b30a
..
9e7b36f
100644
(file)
--- 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)
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):
"""
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 = 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):
interfaces.ATSPI_COMPONENT)
def getAlpha(self):