[pitivi: 8/94] Remove threads.CallbackThread because it's not used anywhere



commit 8eb28c6a2c06f851636681b5a1518543007b472c
Author: Alex BÄluÈ <alexandru balut gmail com>
Date:   Sun Aug 21 11:00:29 2011 +0200

    Remove threads.CallbackThread because it's not used anywhere

 pitivi/threads.py |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/pitivi/threads.py b/pitivi/threads.py
index 6077018..f274faa 100644
--- a/pitivi/threads.py
+++ b/pitivi/threads.py
@@ -63,17 +63,6 @@ class Thread(threading.Thread, Signallable, Loggable):
         pass
 
 
-class CallbackThread(Thread):
-    def __init__(self, callback, *args, **kwargs):
-        self.callback = callback
-        self.args = args
-        self.kwargs = kwargs
-        Thread.__init__(self)
-
-    def process(self):
-        self.callback(*self.args, **self.kwargs)
-
-
 class ThreadMaster(Loggable):
     """
     Controls all the threads existing in Pitivi.



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