From 835a09e1f84315ffc49552462f88282ebadd645a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 16 May 2012 13:13:43 +0100 Subject: [PATCH] shell: Destroy the page instead of removing it Because we don't actually need the child simply removed. Works-around run-time warnings with clutter-gtk. --- shell/cc-notebook.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/cc-notebook.c b/shell/cc-notebook.c index bc2025f0f..dbbbc0ccc 100644 --- a/shell/cc-notebook.c +++ b/shell/cc-notebook.c @@ -439,8 +439,7 @@ remove_on_complete (ClutterTimeline *timeline, RemoveData *data) { data->notebook->priv->removed_pages = g_list_remove (data->notebook->priv->removed_pages, data); - clutter_actor_remove_child (data->notebook->priv->bin, - data->frame); + clutter_actor_destroy (data->frame); g_free (data); }