forked from enlightenment/efl
Do not recalculate table/box if size does not really changed.
SVN revision: 38950
This commit is contained in:
parent
3f767e7cf8
commit
a6e8f2cd36
|
@ -435,8 +435,11 @@ _evas_object_box_smart_del(Evas_Object *o)
|
|||
}
|
||||
|
||||
static void
|
||||
_evas_object_box_smart_resize(Evas_Object *o, int w, int h)
|
||||
_evas_object_box_smart_resize(Evas_Object *o, Evas_Coord w, Evas_Coord h)
|
||||
{
|
||||
Evas_Coord ow, oh;
|
||||
evas_object_geometry_get(o, NULL, NULL, &ow, &oh);
|
||||
if ((ow == w) && (oh == h)) return;
|
||||
evas_object_smart_changed(o);
|
||||
}
|
||||
|
||||
|
|
|
@ -855,8 +855,11 @@ _evas_object_table_smart_del(Evas_Object *o)
|
|||
}
|
||||
|
||||
static void
|
||||
_evas_object_table_smart_resize(Evas_Object *o, int w, int h)
|
||||
_evas_object_table_smart_resize(Evas_Object *o, Evas_Coord w, Evas_Coord h)
|
||||
{
|
||||
Evas_Coord ow, oh;
|
||||
evas_object_geometry_get(o, NULL, NULL, &ow, &oh);
|
||||
if ((ow == w) && (oh == h)) return;
|
||||
evas_object_smart_changed(o);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue