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.
This commit is contained in:
parent
75323fffb2
commit
835a09e1f8
1 changed files with 1 additions and 2 deletions
|
@ -439,8 +439,7 @@ remove_on_complete (ClutterTimeline *timeline,
|
||||||
RemoveData *data)
|
RemoveData *data)
|
||||||
{
|
{
|
||||||
data->notebook->priv->removed_pages = g_list_remove (data->notebook->priv->removed_pages, data);
|
data->notebook->priv->removed_pages = g_list_remove (data->notebook->priv->removed_pages, data);
|
||||||
clutter_actor_remove_child (data->notebook->priv->bin,
|
clutter_actor_destroy (data->frame);
|
||||||
data->frame);
|
|
||||||
g_free (data);
|
g_free (data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue