diff options
author | Benoit Gschwind <gschwind@gnu-log.net> | 2016-05-10 22:47:53 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-05-11 13:43:06 +0300 |
commit | 68d6a6c4e7b680901fd40496e0cb9365dbd575a1 (patch) | |
tree | 596e882446c25eebe7a06b10820862e67ca3d45d | |
parent | 390af6d7ee366f60c40c88b33bbb3b92a257a0e1 (diff) | |
download | weston-68d6a6c4e7b680901fd40496e0cb9365dbd575a1.tar.gz |
main: rename wayland_backend_config_release function
Rename the wayland_backend_config_release function to
weston_wayland_backend_config_release to follow 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 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1086,7 +1086,7 @@ weston_wayland_output_config_init(struct weston_wayland_backend_output_config *o } static void -wayland_backend_config_release(struct weston_wayland_backend_config *new_config) +weston_wayland_backend_config_release(struct weston_wayland_backend_config *new_config) { int i; @@ -1228,7 +1228,7 @@ load_wayland_backend_config(struct weston_compositor *compositor, int *argc, return 0; err_outputs: - wayland_backend_config_release(config); + weston_wayland_backend_config_release(config); return -1; } @@ -1246,7 +1246,7 @@ load_wayland_backend(struct weston_compositor *c, char const * backend, /* load the actual wayland backend and configure it */ ret = load_backend_new(c, backend, &config.base); - wayland_backend_config_release(&config); + weston_wayland_backend_config_release(&config); return ret; } |