Revert "[Tizen] ecore-wl2: applying ecore-wl2"
[platform/core/uifw/dali-adaptor.git] / dali / internal / window-system / common / ecore-indicator-impl.cpp
index b097c48..3c9a6b1 100644 (file)
 #pragma GCC diagnostic ignored "-Wold-style-cast"
 #include <Ecore.h>
 #include <Evas.h>
-#ifdef WAYLAND   // WAYLAND
-#ifdef ECORE_WL2 //ECORE_WL2
-#include <Ecore_Wl2.h>
-#else            //ECORE_WL2
+#ifdef WAYLAND
 #include <Ecore_Wayland.h>
-#endif           //ECORE_WL2
-#else            // WAYLAND
+#else
 #include <Ecore_X.h>
-#endif           // WAYLAND
+#endif
 
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -373,11 +369,7 @@ struct Indicator::Impl
   {
 #if defined(DALI_PROFILE_MOBILE)
 #if defined(WAYLAND)
-#if defined(ECORE_WL2)
-    mEcoreEventHandler = ecore_event_handler_add(ECORE_WL2_EVENT_INDICATOR_FLICK,  EcoreEventIndicator, this);
-#else
     mEcoreEventHandler = ecore_event_handler_add(ECORE_WL_EVENT_INDICATOR_FLICK,  EcoreEventIndicator, this);
-#endif
 #else
     mEcoreEventHandler = ecore_event_handler_add(ECORE_X_EVENT_CLIENT_MESSAGE,  EcoreEventClientMessage, this);
 #endif