projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make getRelationType return a RelationType enum.
[platform/core/uifw/at-spi2-atk.git]
/
pyatspi
/
relation.py
diff --git
a/pyatspi/relation.py
b/pyatspi/relation.py
index
6d1ede0
..
ef952c2
100644
(file)
--- a/
pyatspi/relation.py
+++ b/
pyatspi/relation.py
@@
-116,8
+116,7
@@
class Relation(object):
"""
@return the RelationType of this Relation.
"""
- # TODO Return a relation enum type
- return self._type
+ return RelationType(self._type)
def getRelationTypeName(self):
"""