static inline Evas_Object *
e_win_evas_object_win_get(Evas_Object *obj)
{
- return ecore_evas_data_get(e_win_ee_get(obj), "elm_win");
+ return (Evas_Object *)ecore_evas_data_get((const Ecore_Evas *)e_win_ee_get(obj), "elm_win");
}
static inline Evas_Object *
e_win_evas_win_get(Evas *e)
{
- return ecore_evas_data_get(ecore_evas_ecore_evas_get(e), "elm_win");
+ return (Evas_Object *)ecore_evas_data_get((const Ecore_Evas *)ecore_evas_ecore_evas_get(e), "elm_win");
}
static inline Eina_Bool
e_obj_is_win(const void *obj)
{
- const char *type = evas_object_type_get(obj);
+ const char *type = evas_object_type_get((const Evas_Object *)obj);
return type && !strcmp(type, "elm_win");
}