forked from enlightenment/efl
efl/ecore_evas: do not silently fail on incorrect interface.
SVN revision: 81300
This commit is contained in:
parent
9803c435e0
commit
be79115198
|
@ -3153,8 +3153,8 @@ ecore_evas_extn_plug_connect(Evas_Object *obj, const char *svcname, int svcnum,
|
|||
|
||||
ee = ecore_evas_object_ecore_evas_get(obj);
|
||||
iface = (Ecore_Evas_Interface_Extn *)_ecore_evas_interface_get(ee, "extn");
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(iface, EINA_FALSE);
|
||||
|
||||
if (!iface) return EINA_FALSE;
|
||||
return iface->connect(ee, svcname, svcnum, svcsys);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue