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:
Chris Michael 2013-12-14 09:00:53 +00:00
parent a31e29e016
commit edcf25c9af
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}