Fix e_menu trying to swallow an object from a different canvas
authorChris Michael <cp.michael@samsung.com>
Wed, 21 Oct 2015 14:26:18 +0000 (10:26 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 21 Oct 2015 14:26:18 +0000 (10:26 -0400)
commit7b79e03937b1a5fda9e0c6aa5bbaeced0d35cf98
tree4b48889ce5f3cbb74ccce694d7263c27d7cad8ef
parente931e86161d7f419e44652b533fea4dc9b16241b
Fix e_menu trying to swallow an object from a different canvas

_e_menu_realize was trying to swallow the menu->container_object into
the menu->bg_object, but the menu->bg_object was being created on the
compositor canvas, and the container object was being created on the
e_comp->elm_win.

With recent EFL changes, this causes an abort inside Evas.

To fix this, set the menu->evas to be the Evas from the e_comp->elm_win.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_menu.c