From 15fcddce953e8b5af4052ec498748239cbca5191 Mon Sep 17 00:00:00 2001 From: nash Date: Thu, 21 Apr 2011 06:01:50 +0000 Subject: [PATCH] Evas: Filter: No need to allocate on a getter. Just return the default. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58773 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_filter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/canvas/evas_filter.c b/src/lib/canvas/evas_filter.c index 22db8d2..3c59404 100644 --- a/src/lib/canvas/evas_filter.c +++ b/src/lib/canvas/evas_filter.c @@ -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; } -- 2.7.4