[PATCH weston v4 09/14] compositor-wayland: rename wayland_backend_config_add_new_output function

Benoit Gschwind gschwind at gnu-log.net
Tue May 10 20:47:52 UTC 2016


Rename wayland_backend_config_add_new_output to
weston_wayland_backend_config_add_new_output to follow the legacy naming
scheme.

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

diff --git a/src/main.c b/src/main.c
index 231f1b9..28e7e1d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1104,7 +1104,7 @@ wayland_backend_config_release(struct weston_wayland_backend_config *new_config)
  * structure is NOT cleared nor set to default values.
  */
 static struct weston_wayland_backend_output_config *
-wayland_backend_config_add_new_output(struct weston_wayland_backend_config *new_config)
+weston_wayland_backend_config_add_new_output(struct weston_wayland_backend_config *new_config)
 {
 	struct weston_wayland_backend_output_config *outputs;
 	const size_t element_size = sizeof(struct weston_wayland_backend_output_config);
@@ -1168,7 +1168,7 @@ load_wayland_backend_config(struct weston_compositor *compositor, int *argc,
 	}
 
 	if (out_config->fullscreen) {
-		oc = wayland_backend_config_add_new_output(out_config);
+		oc = weston_wayland_backend_config_add_new_output(out_config);
 		if (!oc)
 			goto err_outputs;
 
@@ -1195,7 +1195,7 @@ load_wayland_backend_config(struct weston_compositor *compositor, int *argc,
 		}
 		free(name);
 
-		oc = wayland_backend_config_add_new_output(out_config);
+		oc = weston_wayland_backend_config_add_new_output(out_config);
 
 		if (!oc)
 			goto err_outputs;
@@ -1213,7 +1213,7 @@ load_wayland_backend_config(struct weston_compositor *compositor, int *argc,
 		scale = 1;
 	while (count > 0) {
 
-		oc = wayland_backend_config_add_new_output(out_config);
+		oc = weston_wayland_backend_config_add_new_output(out_config);
 
 		if (!oc)
 			goto err_outputs;
-- 
2.7.3



More information about the wayland-devel mailing list