usage of HAVE_ELEMENTARY_WAYLAND.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 80301
*ret = 0;
}
+#if HAVE_ELEMENTARY_WAYLAND\r
EAPI Ecore_Wl_Window *
elm_win_wl_window_get(const Evas_Object *obj)
{
_wl_window_get(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
{
Ecore_Wl_Window **ret = va_arg(*list, Ecore_Wl_Window **);
-#if HAVE_ELEMENTARY_WAYLAND
Elm_Win_Smart_Data *sd = _pd;
if (sd->wl.win)
{
*ret = elm_win_wl_window_get(sd->parent);
return;
}
-#endif
*ret = NULL;
}
+#endif\r
EAPI Eina_Bool
elm_win_trap_set(const Elm_Win_Trap *t)
*/
EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj);
+#ifdef HAVE_ELEMENTARY_WAYLAND\r
/* Wayland specific call - returns NULL on non-Wayland engines */
/**
* Get the Ecore_Wl_Window of and Evas_Object
* @ingroup Win
*/
EAPI Ecore_Wl_Window *elm_win_wl_window_get(const Evas_Object *obj);
+#endif\r
/**
* @typedef Elm_Win_Trap