git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38950
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
}
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);
}
}
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);
}