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>
dev
Pekka Paalanen 6 years ago committed by Daniel Stone
parent 49dc32013e
commit 1c0d04bff7
  1. 1
      compositor/weston.h
  2. 1
      include/libweston/libweston.h

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

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

Loading…
Cancel
Save