From: Enlightenment S. <no-...@en...> - 2012-06-07 10:07:01
|
Log: evas: this function call are internal no need for expensive check. Author: cedric Date: 2012-06-07 03:06:50 -0700 (Thu, 07 Jun 2012) New Revision: 71789 Trac: http://trac.enlightenment.org/e/changeset/71789 Modified: trunk/evas/src/lib/canvas/evas_object_smart.c Modified: trunk/evas/src/lib/canvas/evas_object_smart.c =================================================================== --- trunk/evas/src/lib/canvas/evas_object_smart.c 2012-06-07 09:52:14 UTC (rev 71788) +++ trunk/evas/src/lib/canvas/evas_object_smart.c 2012-06-07 10:06:50 UTC (rev 71789) @@ -856,13 +856,7 @@ { Evas_Object_Smart *o; - MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); - return; - MAGIC_CHECK_END(); o = (Evas_Object_Smart *)(obj->object_data); - MAGIC_CHECK(o, Evas_Object_Smart, MAGIC_OBJ_SMART); - return; - MAGIC_CHECK_END(); if (o->update_boundingbox_needed) return ; o->update_boundingbox_needed = EINA_TRUE; @@ -881,13 +875,7 @@ Evas_Coord maxw = 0; Evas_Coord maxh = 0; - MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); - return; - MAGIC_CHECK_END(); os = (Evas_Object_Smart *)(obj->object_data); - MAGIC_CHECK(os, Evas_Object_Smart, MAGIC_OBJ_SMART); - return; - MAGIC_CHECK_END(); if (!os->update_boundingbox_needed) return ; os->update_boundingbox_needed = EINA_FALSE; |