[pyatspi2] Add a dummy freeMatchRule function



commit 6326a02eb27a13939bef151a61b6c488d27f2e00
Author: Mike Gorse <mgorse novell com>
Date:   Mon Dec 13 12:40:41 2010 -0500

    Add a dummy freeMatchRule function

 pyatspi/Accessibility.py |    1 +
 pyatspi/collection.py    |  179 ----------------------------------------------
 2 files changed, 1 insertions(+), 179 deletions(-)
---
diff --git a/pyatspi/Accessibility.py b/pyatspi/Accessibility.py
index 0a2245b..3369c17 100644
--- a/pyatspi/Accessibility.py
+++ b/pyatspi/Accessibility.py
@@ -123,6 +123,7 @@ Collection = Atspi.Collection
 Atspi.Accessible.queryCollection = lambda x: getInterface(Atspi.Accessible.get_collection, x)
 Atspi.Collection.isAncesterOf = Atspi.Collection.is_ancestor_of
 Atspi.Collection.createMatchRule = lambda x, s, smt, a, amt, r, rmt, i, imt, inv: Atspi.MatchRule.new (s, smt, attributeListToHash(a), amt, r, rmt, i, imt, inv)
+Atspi.Collection.freeMatchRule = lambda self, x: None
 Atspi.Collection.getMatches = Atspi.Collection.get_matches
 Atspi.Collection.getMatchesFrom = Atspi.Collection.get_matches_from
 Atspi.Collection.getMatchesTo = Atspi.Collection.get_matches_to



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]