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
* accessible.py (_RelationMixin.getTarget): Add a ref() to the
[platform/core/uifw/at-spi2-atk.git]
/
pyatspi
/
accessible.py
diff --git
a/pyatspi/accessible.py
b/pyatspi/accessible.py
index
89715ca
..
5aadb9e
100644
(file)
--- a/
pyatspi/accessible.py
+++ b/
pyatspi/accessible.py
@@
-586,6
+586,7
@@
class _RelationMixin(object):
@rtype: Accessibility.Accessible
'''
target = self._mix_getTarget(index)
@rtype: Accessibility.Accessible
'''
target = self._mix_getTarget(index)
+ target.ref()
return target._narrow(Accessibility.Accessible)
# 1. mix the exception handlers into all queryable interfaces
return target._narrow(Accessibility.Accessible)
# 1. mix the exception handlers into all queryable interfaces