tests:python: Use proper GES.Project constructor
authorThibault Saunier <tsaunier@igalia.com>
Wed, 6 Feb 2019 22:49:14 +0000 (19:49 -0300)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 7 Mar 2019 12:38:23 +0000 (12:38 +0000)
Avoiding a g_critical

tests/check/python/common.py

index a180841..cd37d1d 100644 (file)
@@ -62,7 +62,7 @@ def create_main_loop():
 
 def create_project(with_group=False, saved=False):
     """Creates a project with two clips in a group."""
-    project = GES.Project()
+    project = GES.Project.new(None)
     timeline = project.extract()
     layer = timeline.append_layer()