aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-10-26 09:04:22 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-10-26 09:04:22 +0100
commit6fa8452d48e252589d8fdda94d501ec0ddf494d5 (patch)
treefbeb2280fa682beb98b8ed228d293045c08b13cd /src/lib/ecore_wayland
parentrelease: Update NEWS and bump version for 1.16.0-beta3 release (diff)
downloadefl-6fa8452d48e252589d8fdda94d501ec0ddf494d5.tar.gz
ecore_wayland: fix build for ivi-shell.
During a rework this bit got missed and made the build fail if ivi-shell was enabled. Thanks a lot to aerodynamik for bringing this to our attention and even pointed out the fix. Fixes https://phab.enlightenment.org/T2798
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index d951be2f14..9751fa25f3 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -68,6 +68,10 @@ _ecore_wl_window_hash_get(void)
void
_ecore_wl_window_shell_surface_init(Ecore_Wl_Window *win)
{
+#ifdef USE_IVI_SHELL
+ char *env;
+#endif
+
if ((win->type == ECORE_WL_WINDOW_TYPE_DND) ||
(win->type == ECORE_WL_WINDOW_TYPE_NONE)) return;
#ifdef USE_IVI_SHELL
@@ -400,10 +404,6 @@ ecore_wl_window_surface_create(Ecore_Wl_Window *win)
EAPI void
ecore_wl_window_show(Ecore_Wl_Window *win)
{
-#ifdef USE_IVI_SHELL
- char *env;
-#endif
-
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!win) return;