update e module for latest api changes
This commit is contained in:
parent
7e2b1a47ab
commit
9a3b2741d1
|
@ -188,10 +188,11 @@ _mpdule_osd_show(void)
|
|||
|
||||
#if E_VERSION_MAJOR >= 20
|
||||
comp = e_comp;
|
||||
zone = e_zone_current_get();
|
||||
#else
|
||||
comp = e_comp_get(NULL);
|
||||
#endif
|
||||
zone = e_zone_current_get(comp);
|
||||
#endif
|
||||
mpdule_config->osd = o = edje_object_add(comp->evas);
|
||||
evas_object_layer_set(o, E_LAYER_POPUP);
|
||||
evas_object_show(o);
|
||||
|
@ -409,7 +410,11 @@ _mpdule_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNU
|
|||
|
||||
e_gadcon_canvas_zone_geometry_get(inst->gcc->gadcon, &x, &y, &w, &h);
|
||||
e_menu_activate_mouse(m,
|
||||
#if E_VERSION_MAJOR >= 20
|
||||
e_zone_current_get(),
|
||||
#else
|
||||
e_util_zone_current_get(e_manager_current_get()),
|
||||
#endif
|
||||
x + ev->output.x,
|
||||
y + ev->output.y, 1, 1,
|
||||
E_MENU_POP_DIRECTION_DOWN, ev->timestamp);
|
||||
|
|
Loading…
Reference in New Issue