From 1af4e65b56f96413765aa5515c24ffdcb964a255 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 29 Nov 2012 05:23:52 +0000 Subject: [PATCH] fix shelf crash when attempting to animate an autohide during screen rotation SVN revision: 79804 --- src/bin/e_shelf.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c index fc9580b98..ad96d103b 100644 --- a/src/bin/e_shelf.c +++ b/src/bin/e_shelf.c @@ -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: