config-parser: Make get_bool be bool
authorDaniel Stone <daniels@collabora.com>
Tue, 26 Nov 2019 00:14:24 +0000 (00:14 +0000)
committerDaniel Stone <daniel@fooishbar.org>
Thu, 28 Nov 2019 19:24:13 +0000 (19:24 +0000)
commit51d995ad8259fb16a6fd25148c3dc2904af7b1d4
treed0f677c68405b8302d1ea8f559412ad3414883e0
parent0a4f6e7d6d63585d287e4f4e2edbc39228d6eed1
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>
clients/desktop-shell.c
compositor/main.c
desktop-shell/shell.c
include/libweston/config-parser.h
ivi-shell/ivi-shell.c
shared/config-parser.c
tests/config-parser-test.c