From: Seunggyun Kim Date: Tue, 9 Apr 2013 11:48:12 +0000 (+0900) Subject: ELM_GENLIST_ITEM_TREE type doesn't support pinch zoom X-Git-Tag: 2.1b_release~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=8757f3303834e6c799f8d8efa19e8cc911556aac;hp=8a881c1c21d16e13b8230832d20bd972fd452eb8;p=framework%2Fuifw%2Felementary.git ELM_GENLIST_ITEM_TREE type doesn't support pinch zoom Change-Id: Id496e7ca081928d4d2068fe3b8afa0b4e005605c --- diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index fa4870a..8150ed7 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -22,7 +22,8 @@ EAPI const char ELM_GENLIST_PAN_SMART_NAME[] = "elm_genlist_pan"; #define GL_IT(_it) (_it->item) #define IS_ROOT_PARENT_IT(_it) \ - ((_it->group) || (GL_IT(_it)->items && GL_IT(_it)->expanded_depth == 0)) \ + ((_it->group) || ((GL_IT(_it)->items && GL_IT(_it)->expanded_depth == 0) \ + &&(!(GL_IT(_it)->type & ELM_GENLIST_ITEM_TREE)))) \ static const Evas_Smart_Interface *_smart_interfaces[] = {