From 54a75d56fb9cb986eb8fc1477d7a0b8c07a11fc8 Mon Sep 17 00:00:00 2001 From: Lee Hyuk Date: Thu, 8 Dec 2016 09:59:30 +0900 Subject: [PATCH] Fix the crash issue (TSAM-10987) Change-Id: I932f8556fda60f1079bad0838a7cd86fe74e8ffc Signed-off-by: Lee Hyuk --- src/bt-share-ui-view.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/bt-share-ui-view.c b/src/bt-share-ui-view.c index 89e2bf3..36ba544 100644 --- a/src/bt-share-ui-view.c +++ b/src/bt-share-ui-view.c @@ -267,8 +267,8 @@ static Eina_Bool __bt_back_button_cb(void *data, Elm_Object_Item *it) return EINA_FALSE; } -static Evas_Object *__bt_tr_progress_icon_get(void *data, Evas_Object *obj, - const char *part) +static Evas_Object *__bt_tr_reusable_progress_icon_get(void *data, Evas_Object *obj, + const char *part, Evas_Object *old) { FN_START; @@ -347,7 +347,6 @@ static Evas_Object *__bt_tr_progress_icon_get(void *data, Evas_Object *obj, return progress_layout; } - static Evas_Object *__bt_tr_icon_get(void *data, Evas_Object *obj, const char *part) { @@ -1322,7 +1321,7 @@ static Evas_Object *__bt_add_tr_data_genlist(Evas_Object *parent, if (ad->tr_progress_itc) { ad->tr_progress_itc->item_style = "full"; ad->tr_progress_itc->func.text_get = NULL; - ad->tr_progress_itc->func.content_get = __bt_tr_progress_icon_get; + ad->tr_progress_itc->func.reusable_content_get = __bt_tr_reusable_progress_icon_get; ad->tr_progress_itc->func.state_get = NULL; ad->tr_progress_itc->func.del = NULL; } -- 2.7.4