Evas: Filter: No need to allocate on a getter.

Just return the default.

SVN revision: 58773
This commit is contained in:
Brett Nash 2011-04-21 06:01:50 +00:00
parent f19bea3bf1
commit 97a442eaf1
1 changed files with 0 additions and 1 deletions

View File

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