From: SangHyeon Lee Date: Thu, 22 Jun 2017 06:43:35 +0000 (+0900) Subject: genlist: fix clip set api calls in genlist when clipees are less than 2 X-Git-Tag: submit/tizen_3.0/20170626.041320~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b7d1c3b19bda8af4ddda9428d74b848696aa83c;p=platform%2Fupstream%2Felementary.git genlist: fix clip set api calls in genlist when clipees are less than 2 Change-Id: If3183bf9437523f2bb0c4eaeb6c23dd43c70fb68 Signed-off-by: SangHyeon Lee --- diff --git a/src/mobile_lib/elm_genlist.c b/src/mobile_lib/elm_genlist.c index 9c7f5fe83..e1b29ffc7 100644 --- a/src/mobile_lib/elm_genlist.c +++ b/src/mobile_lib/elm_genlist.c @@ -1858,7 +1858,7 @@ _item_realize(Elm_Gen_Item *it, { sd->clipee = evas_object_rectangle_add(evas_object_evas_get(WIDGET(it))); evas_object_color_set(sd->clipee, 0, 0, 0, 0); - evas_object_clip_set(clip, sd->clipee); + evas_object_clip_set(sd->clipee, clip); } if (!it->item->proxy) {