From d8b36357e4c8d9edef7df4ecb465b7f728795f90 Mon Sep 17 00:00:00 2001 From: emersion Date: Sun, 21 Jan 2018 15:13:10 +0100 Subject: rootston: add roots_view_child::destroy --- include/rootston/view.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/rootston/view.h b/include/rootston/view.h index 6c5e0573..d07f9ca2 100644 --- a/include/rootston/view.h +++ b/include/rootston/view.h @@ -123,6 +123,8 @@ struct roots_view_child { struct wl_listener commit; struct wl_listener new_subsurface; + + void (*destroy)(struct roots_view_child *child); }; struct roots_subsurface { @@ -151,6 +153,5 @@ void view_child_finish(struct roots_view_child *child); struct roots_subsurface *subsurface_create(struct roots_view *view, struct wlr_subsurface *wlr_subsurface); -void subsurface_destroy(struct roots_subsurface *subsurface); #endif -- cgit v1.2.3