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
Fixed bug #517761, Collection match rules not working for attributes.
[platform/core/uifw/at-spi2-atk.git]
/
pyatspi
/
event.py
diff --git
a/pyatspi/event.py
b/pyatspi/event.py
index
bc230f2
..
4c581bd
100644
(file)
--- a/
pyatspi/event.py
+++ b/
pyatspi/event.py
@@
-168,6
+168,11
@@
class Event(object):
self.any_data.ref()
except AttributeError:
pass
+ try:
+ # if we received a host application, be sure to increment the ref count
+ self.host_application.ref()
+ except AttributeError:
+ pass
def __str__(self):
'''