[pitivi] timeline: Remove unuseful size_request call
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Remove unuseful size_request call
- Date: Wed, 9 Nov 2016 13:13:02 +0000 (UTC)
commit 3d89eafb74c6e025ef0fd71c7909efe45a905bd9
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Thu Oct 20 10:03:05 2016 +0200
timeline: Remove unuseful size_request call
The requested size was 1x1. No extra warning is printed after the
removal.
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1399
pitivi/timeline/timeline.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 69db480..b7f4fe4 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -291,8 +291,6 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
self.layout.props.can_default = True
self.layers_vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.layers_vbox.get_style_context().add_class("LayersBox")
- self.layers_vbox.props.width_request = self.get_allocated_width()
- self.layers_vbox.props.height_request = self.get_allocated_height()
self.layout.put(self.layers_vbox, 0, 0)
self.hadj = self.layout.get_hadjustment()
self.vadj = self.layout.get_vadjustment()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]