[pitivi] timeline: Stop using default constructor for groups
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Stop using default constructor for groups
- Date: Mon, 30 Mar 2020 21:39:30 +0000 (UTC)
commit 4683a2209b9ddc9295b8ace40bc53457e73187ab
Author: Thibault Saunier <tsaunier igalia com>
Date: Mon Mar 30 18:33:02 2020 -0300
timeline: Stop using default constructor for groups
This is incorrect and we should always the right constructor instead
pitivi/utils/timeline.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pitivi/utils/timeline.py b/pitivi/utils/timeline.py
index 0c905028..7e608fa8 100644
--- a/pitivi/utils/timeline.py
+++ b/pitivi/utils/timeline.py
@@ -226,7 +226,7 @@ class Selection(GObject.Object, Loggable):
toplevel = obj.get_toplevel_parent()
toplevels.add(toplevel)
- group = GES.Group()
+ group = GES.Group.new()
group.props.serialize = False
for toplevel in toplevels:
group.add(toplevel)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]