compositor-wayland: rename wayland_output_init_from_config
Rename wayland_output_init_from_config to weston_wayland_output_config_init to prepare the following patch : "compositor-wayland: move configuration parsing to weston" Signed-off-by: Benoit Gschwind <gschwind@gnu-log.net> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net> [Pekka: drop a useless comment] Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Pekka Paalanen
parent
676841d617
commit
37c6a1f275
@@ -1092,7 +1092,7 @@ err_name:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
wayland_output_init_from_config(struct weston_wayland_backend_output_config *output,
|
weston_wayland_output_config_init(struct weston_wayland_backend_output_config *output,
|
||||||
struct weston_config_section *config_section,
|
struct weston_config_section *config_section,
|
||||||
int option_width, int option_height,
|
int option_width, int option_height,
|
||||||
int option_scale)
|
int option_scale)
|
||||||
@@ -2441,7 +2441,7 @@ load_wayland_backend_config(struct weston_compositor *compositor, int *argc,
|
|||||||
if (!oc)
|
if (!oc)
|
||||||
goto err_outputs;
|
goto err_outputs;
|
||||||
|
|
||||||
wayland_output_init_from_config(oc, section, width,
|
weston_wayland_output_config_init(oc, section, width,
|
||||||
height, scale);
|
height, scale);
|
||||||
--count;
|
--count;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user