[pitivi] previewers: Remove AudioPreviewer.set_size method
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] previewers: Remove AudioPreviewer.set_size method
- Date: Fri, 11 Nov 2016 18:08:32 +0000 (UTC)
commit ccca0f87cb057f383702b0a9f2a3fc6c736fed3c
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Mon Nov 7 14:20:45 2016 +0100
previewers: Remove AudioPreviewer.set_size method
It overrides Layout.set_size but the code is not calling it, and also
not setting props.width/height.
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1453
pitivi/timeline/previewers.py | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/pitivi/timeline/previewers.py b/pitivi/timeline/previewers.py
index 1d87225..c5282a4 100644
--- a/pitivi/timeline/previewers.py
+++ b/pitivi/timeline/previewers.py
@@ -490,9 +490,6 @@ class VideoPreviewer(Previewer, Zoomable, Loggable):
# started this job.
return
- # self.props.width_request =
self.nsToPixel(self.ges_elem.get_asset().get_filesource_asset().props.duration)
- # self.props.width = self.nsToPixel(self.ges_elem.get_asset().get_filesource_asset().props.duration)
-
self.debug(
'Now generating thumbnails for: %s', filename_from_uri(self.uri))
query_success, duration = self.pipeline.query_duration(Gst.Format.TIME)
@@ -1036,10 +1033,6 @@ class AudioPreviewer(Previewer, Zoomable, Loggable):
bus.connect("message", self._busMessageCb)
self.becomeControlled()
- # pylint: disable=arguments-differ
- def set_size(self, unused_width, unused_height):
- self._force_redraw = True
-
def zoomChanged(self):
self._force_redraw = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]