evas: this function call are internal no need for expensive check.

SVN revision: 71789
This commit is contained in:
Cedric BAIL 2012-06-07 10:06:50 +00:00
parent 7948321b93
commit e1578910bd
1 changed files with 0 additions and 12 deletions

View File

@ -856,13 +856,7 @@ evas_object_smart_need_bounding_box_update(Evas_Object *obj)
{
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_object_smart_bouding_box_update(Evas_Object *obj)
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;