Revert "wayland: Explicitly destroy the surface actor"

This reverts commit 283a81eac0.

This can't be done yet, as it will crash when we try to do a destroy
effect from a plugin. The surface actor needs to outlive the surface
in this case.

Though, the unparenting happening is wrong anyway for a destroy effect.
We need to figure out a sane way of doing this unparenting only after
all effects have finished.
This commit is contained in:
Jasper St. Pierre 2014-02-18 22:23:08 -05:00
parent 7ef8d21e48
commit f771bb88d6

View File

@ -624,7 +624,6 @@ wl_surface_destructor (struct wl_resource *resource)
surface_set_buffer (surface, NULL);
double_buffered_state_destroy (&surface->pending);
clutter_actor_destroy (CLUTTER_ACTOR (surface->surface_actor));
g_object_unref (surface->surface_actor);
if (surface->resource)