evas: fix error return of evas_object_propagate_events_get()

ref T8259

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10123
This commit is contained in:
Mike Blumenkrantz 2019-09-24 16:11:33 -04:00 committed by Cedric Bail
parent 4234dcfc3e
commit f13b3a882e
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ evas_object_propagate_events_set(Efl_Canvas_Object *obj, Eina_Bool propagate)
EAPI Eina_Bool
evas_object_propagate_events_get(const Efl_Canvas_Object *obj)
{
if (!efl_isa(obj, EFL_CANVAS_OBJECT_CLASS)) return EINA_FALSE;
return efl_canvas_object_propagate_events_get(obj);
}