fix shelf crash when attempting to animate an autohide during screen rotation

SVN revision: 79804
This commit is contained in:
Mike Blumenkrantz 2012-11-29 05:23:52 +00:00
parent 7f9e4979fc
commit 1af4e65b56
1 changed files with 5 additions and 0 deletions

View File

@ -2059,6 +2059,11 @@ _e_shelf_cb_hide_animator(void *data)
int step, hide_max = 0;
es = data;
if (!es->gadcon)
{
es->hide_animator = NULL;
return EINA_FALSE;
}
switch (es->gadcon->orient)
{
case E_GADCON_ORIENT_TOP: