diff options
author | Daniel Stone <daniels@collabora.com> | 2019-11-26 00:14:24 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2019-11-28 19:24:13 +0000 |
commit | 51d995ad8259fb16a6fd25148c3dc2904af7b1d4 (patch) | |
tree | d0f677c68405b8302d1ea8f559412ad3414883e0 /ivi-shell | |
parent | 0a4f6e7d6d63585d287e4f4e2edbc39228d6eed1 (diff) | |
download | weston-51d995ad8259fb16a6fd25148c3dc2904af7b1d4.tar.gz |
config-parser: Make get_bool be bool
Wayland innovated a lot of cool things, but non-binary boolean values is
the great advances of our time.
Make config_parser_get_bool() work on boolean values, and switch all its
users.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'ivi-shell')
-rw-r--r-- | ivi-shell/ivi-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index d3b5cde2..0fb6b290 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -379,7 +379,7 @@ init_ivi_shell(struct weston_compositor *compositor, struct ivi_shell *shell) { struct weston_config *config = wet_get_config(compositor); struct weston_config_section *section; - int developermode; + bool developermode; shell->compositor = compositor; |