forked from enlightenment/efl
Evas: Filter: No need to allocate on a getter.
Just return the default. SVN revision: 58773
This commit is contained in:
parent
f19bea3bf1
commit
97a442eaf1
|
@ -165,7 +165,6 @@ evas_object_filter_mode_get(Evas_Object *o)
|
|||
return EVAS_FILTER_MODE_OBJECT;
|
||||
MAGIC_CHECK_END();
|
||||
|
||||
if (!o->filter) filter_alloc(o);
|
||||
if (!o->filter) return EVAS_FILTER_MODE_OBJECT;
|
||||
return o->filter->mode;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue