efl/ecore_evas: do not silently fail on incorrect interface.

SVN revision: 81300
This commit is contained in:
Gustavo Sverzut Barbieri 2012-12-18 20:09:51 +00:00
parent 9803c435e0
commit be79115198
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}