[pitivi] layer: Remove ignored bClip parameter of Layer.checkMediaTypes
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] layer: Remove ignored bClip parameter of Layer.checkMediaTypes
- Date: Fri, 2 Oct 2015 13:02:51 +0000 (UTC)
commit 5067620af630fce7f62f9126108df3ebd927dc16
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Fri Oct 2 15:00:52 2015 +0200
layer: Remove ignored bClip parameter of Layer.checkMediaTypes
Reviewers: thiblahute
Projects: #pitivi
Reviewed By: thiblahute
Differential Revision: https://phabricator.freedesktop.org/D304
pitivi/timeline/layer.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/layer.py b/pitivi/timeline/layer.py
index fa55549..1dcaaaf 100644
--- a/pitivi/timeline/layer.py
+++ b/pitivi/timeline/layer.py
@@ -505,7 +505,7 @@ class Layer(Gtk.EventBox, timelineUtils.Zoomable, Loggable):
self.bLayer.disconnect_by_func(self._clipAddedCb)
self.bLayer.disconnect_by_func(self._clipRemovedCb)
- def checkMediaTypes(self, bClip=None):
+ def checkMediaTypes(self):
if self.timeline.editing_context:
self.info("Not updating media types as"
" we are editing the timeline")
@@ -602,7 +602,7 @@ class Layer(Gtk.EventBox, timelineUtils.Zoomable, Loggable):
bClip.disconnect_by_func(self._childAddedCb)
bClip.disconnect_by_func(self._childRemovedCb)
- self.checkMediaTypes(bClip)
+ self.checkMediaTypes()
def updatePosition(self):
for bClip in self.bLayer.get_clips():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]