From 1ca08dc4cb5d7b05cb82025e7c69ccabd04c3ca8 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Sat, 19 Aug 2017 23:16:19 +0200 Subject: wlr_compositor: change _init/finish to _create/destroy --- include/wlr/types/wlr_compositor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index 47abeeac..1b2f890f 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -11,9 +11,9 @@ struct wlr_compositor { struct wl_listener destroy_surface_listener; }; -void wlr_compositor_finish(struct wlr_compositor *wlr_compositor); -void wlr_compositor_init(struct wlr_compositor *wlr_compositor, - struct wl_display *display, struct wlr_renderer *renderer); +void wlr_compositor_destroy(struct wlr_compositor *wlr_compositor); +struct wlr_compositor *wlr_compositor_create(struct wl_display *display, + struct wlr_renderer *renderer); struct wlr_surface; void wl_compositor_surface_destroyed(struct wlr_compositor *wlr_compositor, -- cgit v1.2.3