ELM_GENLIST_ITEM_TREE type doesn't support pinch zoom
authorSeunggyun Kim <sgyun.kim@samsung.com>
Tue, 9 Apr 2013 11:48:12 +0000 (20:48 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 10 Apr 2013 10:56:20 +0000 (19:56 +0900)
Change-Id: Id496e7ca081928d4d2068fe3b8afa0b4e005605c

src/lib/elm_genlist.c

index fa4870a..8150ed7 100644 (file)
@@ -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[] =
 {