diff options
author | Benoit Gschwind <gschwind@gnu-log.net> | 2016-05-10 22:47:52 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-05-11 13:42:50 +0300 |
commit | 390af6d7ee366f60c40c88b33bbb3b92a257a0e1 (patch) | |
tree | e7b896415c7a72adf7d211cc05bc6c09ba185f17 | |
parent | 55a2288e4098e3c042e6d976080c4b5682308957 (diff) | |
download | weston-390af6d7ee366f60c40c88b33bbb3b92a257a0e1.tar.gz |
main: rename wayland_backend_config_add_new_output function
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@gnu-log.net>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
[Pekka: rebased]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 (config->fullscreen) { - oc = wayland_backend_config_add_new_output(config); + oc = weston_wayland_backend_config_add_new_output(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(config); + oc = weston_wayland_backend_config_add_new_output(config); if (!oc) goto err_outputs; @@ -1212,7 +1212,7 @@ load_wayland_backend_config(struct weston_compositor *compositor, int *argc, scale = 1; while (count > 0) { - oc = wayland_backend_config_add_new_output(config); + oc = weston_wayland_backend_config_add_new_output(config); if (!oc) goto err_outputs; |