From 43868168897f628fe75157be9ab38ea63310c920 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 13 Aug 2017 09:59:14 -0400 Subject: wlr_backend_init -> wlr_backend_start Also renames create to init. We'll use create for anything that allocates and init for anything that takes a pointer and initializes it. --- examples/shared.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/shared.c b/examples/shared.c index 0738a548..b2818578 100644 --- a/examples/shared.c +++ b/examples/shared.c @@ -512,8 +512,8 @@ void compositor_init(struct compositor_state *state) { wlr_log(L_INFO, "Running compositor on wayland display '%s'", socket); setenv("_WAYLAND_DISPLAY", socket, true); - if (!wlr_backend_init(state->backend)) { - wlr_log(L_ERROR, "Failed to initialize backend"); + if (!wlr_backend_start(state->backend)) { + wlr_log(L_ERROR, "Failed to start backend"); wlr_backend_destroy(wlr); exit(1); } -- cgit v1.2.3