summaryrefslogtreecommitdiff
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
parent03e8f3846391bd0dd133f3a9f35449323a5ccd60 (diff)
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 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)
68void 68void
69_ecore_wl_window_shell_surface_init(Ecore_Wl_Window *win) 69_ecore_wl_window_shell_surface_init(Ecore_Wl_Window *win)
70{ 70{
71#ifdef USE_IVI_SHELL
72 char *env;
73#endif
74
71 if ((win->type == ECORE_WL_WINDOW_TYPE_DND) || 75 if ((win->type == ECORE_WL_WINDOW_TYPE_DND) ||
72 (win->type == ECORE_WL_WINDOW_TYPE_NONE)) return; 76 (win->type == ECORE_WL_WINDOW_TYPE_NONE)) return;
73#ifdef USE_IVI_SHELL 77#ifdef USE_IVI_SHELL
@@ -400,10 +404,6 @@ ecore_wl_window_surface_create(Ecore_Wl_Window *win)
400EAPI void 404EAPI void
401ecore_wl_window_show(Ecore_Wl_Window *win) 405ecore_wl_window_show(Ecore_Wl_Window *win)
402{ 406{
403#ifdef USE_IVI_SHELL
404 char *env;
405#endif
406
407 LOGFN(__FILE__, __LINE__, __FUNCTION__); 407 LOGFN(__FILE__, __LINE__, __FUNCTION__);
408 408
409 if (!win) return; 409 if (!win) return;