From: nash Date: Tue, 22 Mar 2011 05:32:21 +0000 (+0000) Subject: Edje: remove pointless call to _edje_fetch X-Git-Tag: submit/trunk/20120815.180907~690 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04d7bd3dfe1438918a79731652d0eee3ebf75b39;p=profile%2Fivi%2Fedje.git Edje: remove pointless call to _edje_fetch Also tag edje_fetch as pure... since it's pretty clean. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@57960 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_private.h b/src/lib/edje_private.h index 0b044e6..755a3c0 100644 --- a/src/lib/edje_private.h +++ b/src/lib/edje_private.h @@ -1538,7 +1538,7 @@ void _edje_text_class_member_del(Edje *ed, const char *text_class); void _edje_text_class_members_free(void); void _edje_text_class_hash_free(void); -Edje *_edje_fetch(const Evas_Object *obj); +Edje *_edje_fetch(const Evas_Object *obj) EINA_PURE; int _edje_freeze(Edje *ed); int _edje_thaw(Edje *ed); int _edje_block(Edje *ed); diff --git a/src/lib/edje_smart.c b/src/lib/edje_smart.c index 358e6b6..72cbf8d 100644 --- a/src/lib/edje_smart.c +++ b/src/lib/edje_smart.c @@ -39,7 +39,6 @@ edje_object_add(Evas *evas) } e = evas_object_smart_add(evas, _edje_smart); - ed = _edje_fetch(e); return e; }