forked from enlightenment/efl
warning remove - ignoring const (returning obj handle)
cast to fix
This commit is contained in:
parent
f62e051343
commit
f8c9b0d71e
|
@ -7066,7 +7066,7 @@ _efl_ui_win_efl_object_provider_find(const Eo *obj,
|
|||
const Efl_Object *klass)
|
||||
{
|
||||
if (klass == EFL_UI_WIN_CLASS)
|
||||
return obj;
|
||||
return (Eo *)obj;
|
||||
|
||||
if (klass == EFL_UI_FOCUS_PARENT_PROVIDER_INTERFACE)
|
||||
return pd->provider;
|
||||
|
|
|
@ -834,7 +834,7 @@ _evas_canvas_efl_object_provider_find(const Eo *eo_e,
|
|||
const Efl_Class *klass)
|
||||
{
|
||||
if (klass == EVAS_CANVAS_CLASS)
|
||||
return eo_e;
|
||||
return (Eo *)eo_e;
|
||||
else if (klass == EFL_LOOP_CLASS)
|
||||
return efl_main_loop_get();
|
||||
else if (klass == EFL_GESTURE_MANAGER_CLASS)
|
||||
|
|
Loading…
Reference in New Issue