projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3989e54
)
fix menu crash when trying to show a menu that isn't ready to be shown
author
Mike Blumenkrantz
<m.blumenkran@samsung.com>
Fri, 21 Jun 2013 09:27:18 +0000
(10:27 +0100)
committer
Mike Blumenkrantz
<m.blumenkran@samsung.com>
Fri, 21 Jun 2013 09:27:18 +0000
(10:27 +0100)
src/bin/e_menu.c
patch
|
blob
|
history
diff --git
a/src/bin/e_menu.c
b/src/bin/e_menu.c
index
d14427c
..
54dd1f0
100644
(file)
--- a/
src/bin/e_menu.c
+++ b/
src/bin/e_menu.c
@@
-1696,6
+1696,7
@@
_e_menu_realize(E_Menu *m)
if (m->parent_item && m->parent_item->menu)
m->zone = m->parent_item->menu->zone;
+ if (!m->zone) return; //menu not ready!
m->evas = e_comp_get(m)->evas;
m->shape = e_container_shape_add(m->zone->container);
evas_event_freeze(m->evas);