[pitivi] previewers: Remove unused width/height fields



commit df4ad90aa0bd3cb091d5b62cd8436664f9b8d29a
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Thu Oct 20 09:53:29 2016 +0200

    previewers: Remove unused width/height fields
    
    Reviewed-by: Thibault Saunier <tsaunier gnome org>
    Differential Revision: https://phabricator.freedesktop.org/D1398

 pitivi/timeline/previewers.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/timeline/previewers.py b/pitivi/timeline/previewers.py
index 0c43a0f..5ce6285 100644
--- a/pitivi/timeline/previewers.py
+++ b/pitivi/timeline/previewers.py
@@ -715,10 +715,8 @@ class Thumbnail(Gtk.Image):
 
     def __init__(self, width, height):
         Gtk.Image.__init__(self)
-        self.width = width
-        self.height = height
-        self.props.width_request = self.width
-        self.props.height_request = self.height
+        self.props.width_request = width
+        self.props.height_request = height
 
 
 class ThumbnailCache(Loggable):


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