was freeing the widget instead of the structure that contains the widget.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3927
b64f7644-9d1e-0410-96f1-
a4d463321fa5
{
gboolean was_visible = gtk_widget_get_visible( child );
gtk_widget_unparent(child);
- compositor->children = g_list_remove(compositor->children, child);
- g_free(child);
+ compositor->children = g_list_remove_link(
+ compositor->children, link);
+ g_list_free(link);
+ g_free(cc);
if (was_visible && gtk_widget_get_visible (GTK_WIDGET(container)))
gtk_widget_queue_resize(GTK_WIDGET(container));