[pitivi] timeline: Stop using default constructor for groups



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]