thanks to brian wang - check if show item has a block.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Apr 2012 00:44:16 +0000 (00:44 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Apr 2012 00:44:16 +0000 (00:44 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@70452 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_genlist.c

index c8e5c69..ba8ed0e 100644 (file)
@@ -2815,7 +2815,7 @@ _calc_job(void *data)
               dy = 0;
               break;
           }
-        if (wd->show_item)
+        if ((wd->show_item) && (wd->show_item->item->block))
           {
              if ((pan_w > (wd->show_item->x + wd->show_item->item->block->x)) &&
                  (pan_h > (wd->show_item->y + wd->show_item->item->block->y + dy)))