Gcc complains here due to _wl_default_seat_id_get not accepting a
'const' Evas_Object, so to avoid the warning just case it to a normal
Evas_Object when passing in.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
return win;
}
-int _wl_default_seat_id_get(Evas_Object *obj)
+int
+_wl_default_seat_id_get(Evas_Object *obj)
{
Ecore_Wl2_Window *win = _wl_window_get(obj);
Eo *seat, *parent2, *ewin;
if (!wdata) return EINA_FALSE;
#ifdef HAVE_ELEMENTARY_WL2
- seatid = _wl_default_seat_id_get(obj);
+ seatid = _wl_default_seat_id_get((Evas_Object *)obj);
#endif
wdata->udata = udata;
wdata->datacb = datacb;