{
g_free (srcmap->id);
g_object_unref (srcmap->obj);
- g_list_free_full (srcmap->tck_obj_ids, (GDestroyNotify) g_free);
+ g_list_foreach (srcmap->tck_obj_ids, (GFunc) g_free, NULL);
+ g_list_free (srcmap->tck_obj_ids);
g_slice_free (SrcMapping, srcmap);
}
static void
list_table_destroyer (gpointer key, gpointer value, void *unused)
{
- g_list_free_full (value, g_free);
+ g_list_foreach (value, (GFunc) g_free, NULL);
+ g_list_free (value);
}
/* Object functions */
xmlTextWriterEndElement (writer);
}
- g_list_free_full (tracks, g_object_unref);
+ g_list_foreach (tracks, (GFunc) g_object_unref, NULL);
+ g_list_free (tracks);
xmlTextWriterEndElement (writer);
}
source_list = g_list_append (source_list, srcmap);
}
}
- g_list_free_full (tlobjects, g_object_unref);
+ g_list_foreach (tlobjects, (GFunc) g_object_unref, NULL);
+ g_list_free (tlobjects);
g_object_unref (G_OBJECT (layer));
}
priv->trackv = track;
}
}
- g_list_free_full (tracks, g_object_unref);
+ g_list_foreach (tracks, (GFunc) g_object_unref, NULL);
+ g_list_free (tracks);
return TRUE;
}
calculate_next_transition_with_list (track_object, tckobjs_in_layer, layer);
}
- g_list_free_full (tckobjs_in_layer, g_object_unref);
+ g_list_foreach (tckobjs_in_layer, (GFunc) g_object_unref, NULL);
+ g_list_free (tckobjs_in_layer);
}
static void
calculate_next_transition_with_list (track_object, tckobjs_in_layer, layer);
done:
- g_list_free_full (tckobjs_in_layer, g_object_unref);
+ g_list_foreach (tckobjs_in_layer, (GFunc) g_object_unref, NULL);
+ g_list_free (tckobjs_in_layer);
}
ges_track_object_get_timeline_object (tmp->data));
}
}
- g_list_free_full (track_objects, g_object_unref);
+ g_list_foreach (track_objects, (GFunc) g_object_unref, NULL);
+ g_list_free (track_objects);
}
static gboolean
look_for_transition (tmp->data, layer);
}
- g_list_free_full (trackobjects, g_object_unref);
+ g_list_foreach (trackobjects, (GFunc) g_object_unref, NULL);
+ g_list_free (trackobjects);
}
g_hash_table_foreach_remove (layer->priv->signal_table,