diff options
author | Christopher Michael <cpmichael1@comcast.net> | 2008-11-08 05:56:39 +0000 |
---|---|---|
committer | Christopher Michael <cpmichael1@comcast.net> | 2008-11-08 05:56:39 +0000 |
commit | 38f6c6d77b723d1e1103353583ffe583dedbc5f4 (patch) | |
tree | b915bca1c9d75f15093b1a40d390bf297d699529 /src/modules/start | |
parent | a9f9017432747d27d5ebe0312b70b8de2b72385b (diff) | |
download | enlightenment-38f6c6d77b723d1e1103353583ffe583dedbc5f4.tar.gz |
No need to fetch width & height from the gadcon when showing the menu...they
are not used.
SVN revision: 37545
Diffstat (limited to 'src/modules/start')
-rw-r--r-- | src/modules/start/e_mod_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/start/e_mod_main.c b/src/modules/start/e_mod_main.c index fdda7144a1..b39512dc34 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) |