[pitivi] timeline: Avoid calling a callback method directly



commit eb55af540cec5356b386dc8bcb2226d5bf559376
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Tue Jan 28 15:35:01 2014 +0100

    timeline: Avoid calling a callback method directly

 pitivi/timeline/timeline.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 387f1ca..3886924 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -589,7 +589,7 @@ class TimelineStage(Clutter.ScrollActor, Zoomable):
     def _trackRemovedCb(self, unused_timeline, track):
         self._disconnectTrack(track)
         for element in track.get_elements():
-            self._trackElementRemovedCb(track, element)
+            self._removeTimelineElement(track, element)
 
     def _trackElementAddedCb(self, track, bElement):
         self._addTrackElement(track, bElement)


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