[PATCH weston v3 15/17] compositor-wayland: rename wayland_backend_config_release

Benoit Gschwind gschwind at gnu-log.net
Thu May 5 20:45:53 UTC 2016


Rename wayland_backend_config_release to weston_wayland_backend_config_release.

Signed-off-by: Benoit Gschwind <gschwind at gnu-log.net>
---
 src/main.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main.c b/src/main.c
index 5b8eb80..adaebf7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1010,7 +1010,7 @@ wayland_output_config_init(struct weston_wayland_backend_output_config *output_c
 }
 
 static void
-wayland_backend_config_release(struct weston_wayland_backend_config *config) {
+weston_wayland_backend_config_release(struct weston_wayland_backend_config *config) {
 	int i;
 
 	for (i = 0; i < config->num_outputs; ++i) {
@@ -1087,7 +1087,7 @@ load_wayland_backend(struct weston_compositor *c, char const * backend,
 	if (config.sprawl) {
 		/* do nothing, everything is already set */
 		ret = load_backend_new(c, backend, &config.base);
-		wayland_backend_config_release(&config);
+		weston_wayland_backend_config_release(&config);
 		return ret;
 	}
 
@@ -1105,7 +1105,7 @@ load_wayland_backend(struct weston_compositor *c, char const * backend,
 		oc->scale = 1;
 
 		ret = load_backend_new(c, backend, &config.base);
-		wayland_backend_config_release(&config);
+		weston_wayland_backend_config_release(&config);
 		return ret;
 	}
 
@@ -1160,11 +1160,11 @@ load_wayland_backend(struct weston_compositor *c, char const * backend,
 	}
 
 	ret = load_backend_new(c, backend, &config.base);
-	wayland_backend_config_release(&config);
+	weston_wayland_backend_config_release(&config);
 	return ret;
 
 err_outputs:
-	wayland_backend_config_release(&config);
+	weston_wayland_backend_config_release(&config);
 	return ret;
 }
 
-- 
2.7.3



More information about the wayland-devel mailing list