Revert "Revert "[Genlist] Prevent unneeded callbacks""
authorTae-Hwan Kim <the81.kim@samsung.com>
Mon, 6 May 2013 04:04:38 +0000 (13:04 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:50:26 +0000 (13:50 +0900)
This reverts commit 1b699f84c174cb494f50a0f1e564a1c70aab3a1e.

src/lib/elm_genlist.c

index 2a79046..8b50bb1 100644 (file)
@@ -6970,6 +6970,10 @@ elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc)
 {
    if (itc && (itc->version == CLASS_ALLOCATED))
      {
+        itc->func.text_get = NULL;
+        itc->func.content_get = NULL;
+        itc->func.state_get = NULL;
+        itc->func.del = NULL;
         if (itc->refcount > 0) elm_genlist_item_class_unref(itc);
         else
           {