From 38f6c6d77b723d1e1103353583ffe583dedbc5f4 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Sat, 8 Nov 2008 05:56:39 +0000 Subject: [PATCH] No need to fetch width & height from the gadcon when showing the menu...they are not used. SVN revision: 37545 --- src/modules/start/e_mod_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/start/e_mod_main.c b/src/modules/start/e_mod_main.c index fdda7144a..b39512dc3 100644 --- a/src/modules/start/e_mod_main.c +++ b/src/modules/start/e_mod_main.c @@ -145,11 +145,11 @@ _button_cb_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info) if (ev->button == 1) { Evas_Coord x, y, w, h; - int cx, cy, cw, ch; - + int cx, cy; + evas_object_geometry_get(inst->o_button, &x, &y, &w, &h); e_gadcon_canvas_zone_geometry_get(inst->gcc->gadcon, - &cx, &cy, &cw, &ch); + &cx, &cy, NULL, NULL); x += cx; y += cy; if (!inst->main_menu)