[pitivi] ruler.py: remove draw() function which isn't called from anywhere



commit d67613c0131ad0f8a1612b25a97a29f823dc4770
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date:   Wed Sep 2 13:07:45 2009 -0700

    ruler.py: remove draw() function which isn't called from anywhere

 pitivi/ui/ruler.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/ui/ruler.py b/pitivi/ui/ruler.py
index 0cfb8fb..34b4d44 100644
--- a/pitivi/ui/ruler.py
+++ b/pitivi/ui/ruler.py
@@ -218,12 +218,6 @@ class ScaleRuler(gtk.Layout, Zoomable, Loggable):
         self.drawBackground(context, allocation)
         self.drawRuler(context, allocation)
 
-    def draw(self, context):
-        rect = self.get_allocation()
-        self.debug("Ruler draw %s", list(rect))
-        self.drawBackground(context, rect)
-        self.drawRuler(context, rect)
-
     def setShadedDuration(self, duration):
         self.info("start/duration changed")
         self.queue_resize()



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