forked from enlightenment/terminology
Remove 2 variables which are not needed.
After we fetch geometry, we are only using w & h for comparison. X/Y are never used, so remove those two variables. Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
a31e29e016
commit
edcf25c9af
|
@ -572,9 +572,9 @@ static void
|
|||
_smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
|
||||
{
|
||||
Sel *sd = evas_object_smart_data_get(obj);
|
||||
Evas_Coord ox, oy, ow, oh;
|
||||
Evas_Coord ow, oh;
|
||||
if (!sd) return;
|
||||
evas_object_geometry_get(obj, &ox, &oy, &ow, &oh);
|
||||
evas_object_geometry_get(obj, NULL, NULL, &ow, &oh);
|
||||
if ((ow == w) && (oh == h)) return;
|
||||
evas_object_smart_changed(obj);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue