devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=edcf25c9afd142dc9e4dd4c98e1a281e08650c5b

commit edcf25c9afd142dc9e4dd4c98e1a281e08650c5b
Author: Chris Michael <devilho...@comcast.net>
Date:   Sat Dec 14 09:00:53 2013 +0000

    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 <devilho...@comcast.net>
---
 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 8365dfc..e62300e 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);
 }

-- 


Reply via email to