From cebdfad9feec79ba9c07fd51d76be09017c85ea9 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 8 Mar 2021 09:56:49 -0300 Subject: [PATCH] group: Use proper group constructor Otherwise we might en up having a group which is not backed by any asset leading to possible assertion as this should never happen (see https://gitlab.gnome.org/GNOME/pitivi/-/issues/2526) Part-of: --- ges/ges-group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ges/ges-group.c b/ges/ges-group.c index 482be30..0685170 100644 --- a/ges/ges-group.c +++ b/ges/ges-group.c @@ -457,7 +457,7 @@ _group (GList * containers) { GList *tmp; GESTimeline *timeline = NULL; - GESContainer *ret = g_object_new (GES_TYPE_GROUP, NULL); + GESContainer *ret = GES_CONTAINER (ges_group_new ()); if (!containers) return ret; -- 2.7.4