summaryrefslogtreecommitdiff
path: root/desktop-shell
diff options
context:
space:
mode:
authorGiulio Camuffo <giuliocamuffo@gmail.com>2016-06-02 21:48:11 +0300
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2016-06-03 13:16:39 +0300
commitd52f3b775bf267b9c5313ab3ef65414a813ca51c (patch)
tree0b928b22a50ecdc742880b6bc3ca5cdd0b3d3625 /desktop-shell
parentfba27fbef2c5ed3e45299b5e950174f0d5f871aa (diff)
compositor: remove the weston_config field in weston_compositor
The config can now be retrieved with a new function defined in weston.h, wet_get_config(weston_compositor*). Signed-off-by: Giulio Camuffo <giuliocamuffo@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'desktop-shell')
-rw-r--r--desktop-shell/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index ec71cd12..b1fb2fa7 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -640,7 +640,7 @@ shell_configuration(struct desktop_shell *shell)
int ret;
int allow_zap;
- section = weston_config_get_section(shell->compositor->config,
+ section = weston_config_get_section(wet_get_config(shell->compositor),
"shell", NULL, NULL);
ret = asprintf(&client, "%s/%s", weston_config_get_libexec_dir(),
WESTON_SHELL_CLIENT);