elm_genlist.c: return "elm.swallow.icon" part's object when the part parameter is...
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Sat, 30 Nov 2013 09:28:47 +0000 (18:28 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Sat, 30 Nov 2013 09:28:47 +0000 (18:28 +0900)
commit9efa212975d16874b9b922ec3c454864231a91b3
tree80bb0a9691080a45585eb78f5452e7d9f13a9cd4
parent00bd27a88380b788834517431d7249045fe57b5b
elm_genlist.c: return "elm.swallow.icon" part's object when the part parameter is null on _item_content_get_hook().

Now elm_object_item_content_get() works fine.
+ avoid ambiguous if-else statement by using braces.
legacy/elementary/src/lib/elm_genlist.c