which is required when holding a reference to a _narrow()ed
instance (bug #512702).
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@982
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2008-01-28 Eitan Isaacson <eitan@ascender.com>
+
+ * accessible.py (_AccessibleMixin.getApplication): Added a ref()
+ which is required when holding a reference to a _narrow()ed
+ instance (bug #512702).
+
2008-01-23 Eitan Isaacson <eitan@ascender.com>
* registry.py (Registry.pumpQueuedEvents): Added this method for
try:
while curr.parent is not None and (not curr.parent == curr):
curr = curr.parent
+ curr.ref()
return curr._narrow(Accessibility.Application)
except:
return None