[pitivi] timeline: Remove code cruft



commit 0219318bed65fcada113520c3e370fa2a9fb1052
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Sat Jul 21 17:42:24 2012 -0400

    timeline: Remove code cruft

 pitivi/timeline/timeline.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index f1529dd..b3ff4d6 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -372,12 +372,6 @@ class TimelineCanvas(goocanvas.Canvas, Zoomable, Loggable):
         self.position = position
         self._playhead.props.x = self.nsToPixel(position)
 
-    max_duration = 0
-
-    def setMaxDuration(self, duration):
-        self.max_duration = duration
-        self._request_size()
-
     def _request_size(self):
         alloc = self.get_allocation()
         self.set_bounds(0, 0, alloc.width, alloc.height)



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