parent
b6724ed9ce
commit
b5197eb128
|
@ -74,7 +74,8 @@ _ecore_evas_interface_get(const Ecore_Evas *ee, const char *iname)
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
Ecore_Evas_Interface *i;
|
Ecore_Evas_Interface *i;
|
||||||
|
|
||||||
if (!ee || !iname) return NULL;
|
EINA_SAFETY_ON_NULL_RETURN_VAL(ee, NULL);
|
||||||
|
EINA_SAFETY_ON_NULL_RETURN_VAL(iname, NULL);
|
||||||
|
|
||||||
EINA_LIST_FOREACH(ee->engine.ifaces, l, i)
|
EINA_LIST_FOREACH(ee->engine.ifaces, l, i)
|
||||||
{
|
{
|
||||||
|
@ -82,6 +83,9 @@ _ecore_evas_interface_get(const Ecore_Evas *ee, const char *iname)
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CRIT("Ecore_Evas %p (engine: %s) does not have interface '%s'",
|
||||||
|
ee, ee->driver, iname);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue