aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-19 23:16:19 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-19 23:17:39 +0200
commit1ca08dc4cb5d7b05cb82025e7c69ccabd04c3ca8 (patch)
treef8e14b54f6253541119c3e70ec16e03ee356c52f /include/wlr
parent411078815953ef0a29e61b49868e646ad899fb01 (diff)
wlr_compositor: change _init/finish to _create/destroy
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_compositor.h6
1 files changed, 3 insertions, 3 deletions
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,