diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index f208da880..3d4b8f85b 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -518,7 +518,7 @@ static void xdg_surface_destroy (struct wl_client *client, struct wl_resource *resource) { - destroy_surface_extension (resource); + wl_resource_destroy (resource); } static void @@ -756,7 +756,7 @@ static void xdg_popup_destroy (struct wl_client *client, struct wl_resource *resource) { - destroy_surface_extension (resource); + wl_resource_destroy (resource); } static void