From 633d16aae7d288e615cdf4586043a9d2cc409f66 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 16 Aug 2018 10:17:23 -0400 Subject: [PATCH] ecore_evas: Fix elm warnings when building without wayland support Summary: efl_ui_win.c only includes private ecore_evas headers when building for wayland, but wayland canvas creation functions are called even in non-wayland builds. Move the "hidden" wayland APIs to the public header so they don't mess up non-wayland builds. Reviewers: devilhorns, zmike Reviewed By: devilhorns, zmike Subscribers: devilhorns, cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6822 --- src/lib/elementary/efl_ui_win.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index 5e61dd4003..df7094af13 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -45,6 +45,9 @@ #define FRAME_OBJ_THEME_MIN_VERSION 119 +Ecore_Evas *_wayland_shm_new(const char *disp_name, Ecore_Window parent, int x, int y, int w, int h, Eina_Bool frame); +Ecore_Evas *_wayland_egl_new(const char *disp_name, Ecore_Window parent, int x, int y, int w, int h, Eina_Bool frame); + static const Elm_Win_Trap *trap = NULL; static int _paused_windows = 0;