From edcf25c9afd142dc9e4dd4c98e1a281e08650c5b Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Sat, 14 Dec 2013 09:00:53 +0000 Subject: [PATCH] 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 --- src/bin/sel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/sel.c b/src/bin/sel.c index 8365dfca..e62300e0 100644 --- a/src/bin/sel.c +++ b/src/bin/sel.c @@ -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); }