[AT-SPI] Fix a build break 33/273633/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 11 Apr 2022 05:43:39 +0000 (14:43 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Mon, 11 Apr 2022 05:43:39 +0000 (14:43 +0900)
There was a build error caused by ecore_wl2_window_resource_id_get
that is available from Tizen 7.0

Change-Id: I1716261c376a32dcec5100f8d5788645d69e8364

dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp

index 4f43ba8..21f55fe 100644 (file)
@@ -1532,7 +1532,11 @@ int WindowBaseEcoreWl2::GetNativeWindowId()
 
 std::string WindowBaseEcoreWl2::GetNativeWindowResourceId()
 {
+#ifdef OVER_TIZEN_VERSION_7
   return std::to_string(ecore_wl2_window_resource_id_get(mEcoreWindow));
+#else
+  return std::string();
+#endif
 }
 
 EGLNativeWindowType WindowBaseEcoreWl2::CreateEglWindow(int width, int height)