[pitivi] undo: disconnect correct handlers when layer is removed.
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] undo: disconnect correct handlers when layer is removed.
- Date: Sat, 15 Nov 2014 10:31:37 +0000 (UTC)
commit 1e3145d886cfb455939b3e8b0dd7bcfb7e504ce2
Author: Mathieu Duponchelle <mathieu duponchelle opencreed com>
Date: Fri May 2 12:44:41 2014 +0200
undo: disconnect correct handlers when layer is removed.
https://bugzilla.gnome.org/show_bug.cgi?id=739251
pitivi/undo/timeline.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/undo/timeline.py b/pitivi/undo/timeline.py
index 6bb5a12..086b833 100644
--- a/pitivi/undo/timeline.py
+++ b/pitivi/undo/timeline.py
@@ -385,5 +385,5 @@ class TimelineLogObserver(object):
layer.connect("clip-removed", self._clipRemovedCb)
def _layerRemovedCb(self, timeline, layer):
- layer.disconnect_by_func(self._layerAddedCb)
- layer.disconnect_by_func(self._layerRemovedCb)
+ layer.disconnect_by_func(self._clipAddedCb)
+ layer.disconnect_by_func(self._clipRemovedCb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]