[Elm_genlist] Added check in order to avoid unnecessary error/warning.
authorprince <prince.dubey@samsung.com>
Tue, 16 Apr 2013 12:19:18 +0000 (17:49 +0530)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:17:04 +0000 (13:17 +0900)
Change-Id: I236f8c6d0df7cf733bb0a76021860c316432b924

src/lib/elm_genlist.c

index 3ff34b5..24dcf89 100644 (file)
@@ -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)