[pitivi/ges: 283/287] Comment the useless sink.expose() in viewer.py



commit fe151f00e1b33236634bd854bf55cb097b1c6bdb
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Wed Feb 15 21:59:57 2012 -0500

    Comment the useless sink.expose() in viewer.py

 pitivi/viewer.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index 76ff9a4..b86d780 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -515,15 +515,14 @@ class PitiviViewer(gtk.VBox, Loggable):
             name = message.structure.get_name()
             self.log('message:%s / %s', message, name)
             if name == 'prepare-xwindow-id':
-                sink = message.src
-                self.sink = sink
+                self.sink = message.src
                 self._switch_output_window()
         return gst.BUS_PASS
 
     def _switch_output_window(self):
         gtk.gdk.threads_enter()
         self.sink.set_xwindow_id(self.target.window_xid)
-        #FIXME GES break
+        #FIXME GES: the line below doesn't seem to do anything
         #self.sink.expose()
         gtk.gdk.threads_leave()
 



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