forked from enlightenment/efl
parent
46daa66f8e
commit
cf45191574
|
@ -5028,8 +5028,8 @@ elm_win_wl_window_get(const Evas_Object *obj)
|
|||
static void
|
||||
_wl_window_get(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
|
||||
{
|
||||
#if HAVE_ELEMENTARY_WAYLAND
|
||||
Ecore_Wl_Window **ret = va_arg(*list, Ecore_Wl_Window **);
|
||||
#if HAVE_ELEMENTARY_WAYLAND
|
||||
Elm_Win_Smart_Data *sd = _pd;
|
||||
if (sd->wl.win)
|
||||
{
|
||||
|
@ -5041,8 +5041,6 @@ _wl_window_get(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
|
|||
*ret = elm_win_wl_window_get(sd->parent);
|
||||
return;
|
||||
}
|
||||
#else
|
||||
(void) list;
|
||||
#endif
|
||||
*ret = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue