diff --git a/ges/ges-base-xml-formatter.c b/ges/ges-base-xml-formatter.c index ca967921d5..414fc0c7da 100644 --- a/ges/ges-base-xml-formatter.c +++ b/ges/ges-base-xml-formatter.c @@ -348,12 +348,11 @@ _dispose (GObject * object) { GESBaseXmlFormatterPrivate *priv = _GET_PRIV (object); - g_clear_pointer (&priv->assetid_pendingclips, - (GDestroyNotify) g_hash_table_unref); - g_clear_pointer (&priv->containers, (GDestroyNotify) g_hash_table_unref); - g_clear_pointer (&priv->clipid_pendings, (GDestroyNotify) g_hash_table_unref); - g_clear_pointer (&priv->tracks, (GDestroyNotify) g_hash_table_unref); - g_clear_pointer (&priv->layers, (GDestroyNotify) g_hash_table_unref); + g_clear_pointer (&priv->assetid_pendingclips, g_hash_table_unref); + g_clear_pointer (&priv->containers, g_hash_table_unref); + g_clear_pointer (&priv->clipid_pendings, g_hash_table_unref); + g_clear_pointer (&priv->tracks, g_hash_table_unref); + g_clear_pointer (&priv->layers, g_hash_table_unref); G_OBJECT_CLASS (parent_class)->dispose (object); } diff --git a/ges/ges-xml-formatter.c b/ges/ges-xml-formatter.c index f0eb2c2782..4fe7c6511b 100644 --- a/ges/ges-xml-formatter.c +++ b/ges/ges-xml-formatter.c @@ -1632,7 +1632,7 @@ static void _dispose (GObject * object) { g_clear_pointer (&GES_XML_FORMATTER (object)->priv->element_id, - (GDestroyNotify) g_hash_table_unref); + g_hash_table_unref); G_OBJECT_CLASS (parent_class)->dispose (object); }