[pitivi: 1/6] remove unecessary overrides



commit a2a387b93720b4859750dee01059daddc474a0d0
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date:   Fri Oct 15 16:35:12 2010 +0100

    remove unecessary overrides

 pitivi/ui/ruler.py |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/pitivi/ui/ruler.py b/pitivi/ui/ruler.py
index 2b0bf14..5f411c3 100644
--- a/pitivi/ui/ruler.py
+++ b/pitivi/ui/ruler.py
@@ -35,8 +35,6 @@ class ScaleRuler(gtk.DrawingArea, Zoomable, Loggable):
 
     __gsignals__ = {
         "expose-event":"override",
-        "size-allocate":"override",
-        "realize":"override",
         "button-press-event":"override",
         "button-release-event":"override",
         "motion-notify-event":"override",
@@ -105,16 +103,6 @@ class ScaleRuler(gtk.DrawingArea, Zoomable, Loggable):
 
 ## gtk.Widget overrides
 
-    def do_size_allocate(self, allocation):
-        self.debug("ScaleRuler got %s", list(allocation))
-        gtk.DrawingArea.do_size_allocate(self, allocation)
-        #self.doPixmap()
-
-    def do_realize(self):
-        gtk.DrawingArea.do_realize(self)
-        # we want to create our own pixmap here
-        #self.doPixmap()
-
     def do_expose_event(self, event):
         self.debug("exposing ScaleRuler %s", list(event.area))
         x, y, width, height = event.area



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