window-actor: rename destroy function in queue_destroy

Since this might delay the destruction after animation
has succeeded, it's just better to rename this accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=791006
This commit is contained in:
Marco Trevisan (Treviño) 2017-11-30 22:17:02 -05:00
parent b1587f0716
commit 1a1db9ef8d
3 changed files with 3 additions and 3 deletions

View File

@ -674,7 +674,7 @@ meta_compositor_remove_window (MetaCompositor *compositor,
if (compositor->unredirected_window == window)
set_unredirected_window (compositor, NULL);
meta_window_actor_destroy (window_actor);
meta_window_actor_queue_destroy (window_actor);
}
void

View File

@ -12,7 +12,7 @@
MetaWindowActor *meta_window_actor_new (MetaWindow *window);
void meta_window_actor_destroy (MetaWindowActor *self);
void meta_window_actor_queue_destroy (MetaWindowActor *self);
void meta_window_actor_show (MetaWindowActor *self,
MetaCompEffect effect);

View File

@ -1238,7 +1238,7 @@ meta_window_actor_set_unredirected (MetaWindowActor *self,
}
void
meta_window_actor_destroy (MetaWindowActor *self)
meta_window_actor_queue_destroy (MetaWindowActor *self)
{
MetaWindowActorPrivate *priv = self->priv;
MetaWindow *window = priv->window;