Fix build error for EFL 1.20 migration 25/173125/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 20 Mar 2018 00:57:23 +0000 (09:57 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 20 Mar 2018 00:57:23 +0000 (09:57 +0900)
Change-Id: If8102a1076a3a6e6296ddc0c1dec631723b19534

scl/gwes/efl/sclwindows-efl.cpp

index 2853f70..400e970 100644 (file)
@@ -822,13 +822,14 @@ CSCLWindowsImplEfl::resize_window(const sclwindow window, scl16 width, scl16 hei
     if (windows && window) {
         if (window != windows->get_base_window()) {
 #ifdef WAYLAND
-            ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+            Ecore_Wl2_Window *wl_window = (Ecore_Wl2_Window *)(elm_win_wl_window_get(win));
+            ecore_wl2_window_rotation_geometry_set(wl_window,
                 rotation_values_EFL[ROTATION_0], 0, 0, width, height);
-            ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+            ecore_wl2_window_rotation_geometry_set(wl_window,
                 rotation_values_EFL[ROTATION_90_CW], 0, 0, height, width);
-            ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+            ecore_wl2_window_rotation_geometry_set(wl_window,
                 rotation_values_EFL[ROTATION_180], 0, 0, width, height);
-            ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+            ecore_wl2_window_rotation_geometry_set(wl_window,
                 rotation_values_EFL[ROTATION_90_CCW], 0, 0, height, width);
 #else
             evas_object_resize(win, width, height);