summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2007-11-25 05:36:54 +0000
committerChristopher Michael <cpmichael1@comcast.net>2007-11-25 05:36:54 +0000
commitf815a503eb3d6e8346aad8902a3df7a94e88275e (patch)
treea7689f9c655a7db42953320c306b01ce80438bf1
parent0509cb1a443607e415ff4b2686f384fb5e74e15a (diff)
downloadenlightenment-f815a503eb3d6e8346aad8902a3df7a94e88275e.tar.gz
More thorough check on menu_post for shelf.
SVN revision: 32874
-rw-r--r--src/bin/e_gadcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index ecdb821f3c..b7ec4dd7e6 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -2167,7 +2167,7 @@ _e_gadcon_client_cb_menu_post(void *data, E_Menu *m)
E_Gadcon_Client *gcc;
gcc = data;
- if (gcc->gadcon->shelf)
+ if ((gcc->gadcon) && (gcc->gadcon->shelf))
e_shelf_locked_set(gcc->gadcon->shelf, 0);
if (!gcc->menu) return;
e_object_del(E_OBJECT(gcc->menu));