From ab792750ee3f7a3f8264fa5e95588d6b800c7ba3 Mon Sep 17 00:00:00 2001 From: prince Date: Tue, 16 Apr 2013 17:49:18 +0530 Subject: [PATCH] [Elm_genlist] Added check in order to avoid unnecessary error/warning. Change-Id: I236f8c6d0df7cf733bb0a76021860c316432b924 --- src/lib/elm_genlist.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 3ff34b5..24dcf89 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -592,15 +592,12 @@ _item_unrealize(Elm_Gen_Item *it, it->item->swipe_timer = NULL; } - /* - * This make too may error message when content is not layout based or - * content does not impelement message siganal process. - * This reduces scrolling performance :( - * Before uncomment this, we should fix above. //Forcing the edje signal process for item's content. EINA_LIST_FOREACH(it->content_objs, l, content) - edje_object_message_signal_process(elm_layout_edje_get(content)); - */ + { + if (evas_object_smart_type_check(content, "elm_layout")) + edje_object_message_signal_process(elm_layout_edje_get(content)); + } // Free view item EINA_LIST_FOREACH(it->texts, l, part) -- 2.7.4