[pyatspi2] Add a dummy unref function for state sets



commit 00faa2c65b631532872ce30b5b7e1d92b18271e5
Author: Mike Gorse <mgorse novell com>
Date:   Wed Jan 5 15:28:01 2011 -0600

    Add a dummy unref function for state sets

 pyatspi/state.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pyatspi/state.py b/pyatspi/state.py
index 75e2bcd..33f3256 100644
--- a/pyatspi/state.py
+++ b/pyatspi/state.py
@@ -166,4 +166,5 @@ StateSet = Atspi.StateSet
 StateSet.getStates = StateSet.get_states
 StateSet.isEmpty = StateSet.is_empty
 StateSet.raw = lambda x: x
+StateSet.unref = lambda x: None
 StateSet.__init__ = stateset_init



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