libweston: do not include config-parser.h

config-parser.h is a helper API that libweston core must never depend on. Using
it is a compositor frontend decision.

Including it in libweston.h would give the wrong message.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2019-04-18 13:54:38 +03:00 committed by Daniel Stone
parent 49dc32013e
commit 1c0d04bff7
2 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,7 @@ extern "C" {
#endif
#include <libweston/libweston.h>
#include <libweston/config-parser.h>
void
screenshooter_create(struct weston_compositor *ec);

View File

@ -42,7 +42,6 @@ extern "C" {
#include <wayland-server.h>
#include <libweston/matrix.h>
#include <libweston/config-parser.h>
#include <libweston/zalloc.h>
#include <libweston/timeline-object.h>