diff options
author | Christopher Michael <cpmichael1@comcast.net> | 2007-11-25 05:36:54 +0000 |
---|---|---|
committer | Christopher Michael <cpmichael1@comcast.net> | 2007-11-25 05:36:54 +0000 |
commit | f815a503eb3d6e8346aad8902a3df7a94e88275e (patch) | |
tree | a7689f9c655a7db42953320c306b01ce80438bf1 | |
parent | 0509cb1a443607e415ff4b2686f384fb5e74e15a (diff) | |
download | enlightenment-f815a503eb3d6e8346aad8902a3df7a94e88275e.tar.gz |
More thorough check on menu_post for shelf.
SVN revision: 32874
-rw-r--r-- | src/bin/e_gadcon.c | 2 |
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)); |