diff options
author | Derek Foreman <derek.foreman.samsung@gmail.com> | 2018-08-16 10:17:23 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2018-08-16 10:17:23 -0400 |
commit | 633d16aae7d288e615cdf4586043a9d2cc409f66 (patch) | |
tree | 0fbdf986ac95b2542dca87843238702037bad318 | |
parent | 82b6a248cec3c28dbcad94c1cb0246edfb75af35 (diff) | |
download | efl-633d16aae7d288e615cdf4586043a9d2cc409f66.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_ui_win.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |