Instead of using destroy signal of E_Comp_Wl_Client_Data, this patch
uses destroy signal of E_Surface becasue E_Subsurface should depend on
E_Surface, not E_Comp_Wl_Client_Data.
Change-Id: I155030f2afacdcb034b921d24bfe349af234dfbe
sub->surface = surface;
sub->surface_destroy.notify = _e_subsurface_cb_surface_destroy;
- wl_signal_add(&surface->base.destroy_signal, &sub->surface_destroy);
+ wl_signal_add(&surface->events.destroy, &sub->surface_destroy);
sub->parent = parent_surface;
sub->parent_surface_destroy.notify = _e_subsurface_cb_parent_surface_destroy;
- wl_signal_add(&parent_surface->base.destroy_signal, &sub->parent_surface_destroy);
+ wl_signal_add(&parent_surface->events.destroy, &sub->parent_surface_destroy);
e_comp_wl_subsurface_data_init(&sub->base, surface->ec, epc, offscreen_parent);