[*] Revert "[Genlist] Applied upstream patch r62645."
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Thu, 25 Aug 2011 01:20:15 +0000 (10:20 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Thu, 25 Aug 2011 01:21:28 +0000 (10:21 +0900)
This reverts commit 409e669d892e5f01161eb38d5427143826ad0462.

Change-Id: Ieb66bb2c4c83951145a35116337aadce48248438

AUTHORS
src/lib/elm_genlist.c

diff --git a/AUTHORS b/AUTHORS
index fa8e7dc..cc75c17 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -42,4 +42,3 @@ Prince Kumar Dubey <prince.dubey@samsung.com> <prince.dubey@gmail.com>
 Sung W. Park <sungwoo@gmail.com>
 Thierry el Borgi <thierry@substantiel.fr>
 Shilpa Singh <shilpa.singh@samsung.com> <shilpasingh.o@gmail.com>
-Chanwook Jung <joey.jung@samsung.com>
index cd0c6dd..c10114b 100644 (file)
@@ -3667,28 +3667,17 @@ elm_genlist_item_insert_after(Evas_Object                  *obj,
      {
         if ((flags & ELM_GENLIST_ITEM_GROUP) &&
             (after->flags & ELM_GENLIST_ITEM_GROUP))
-          {
-             Elm_Genlist_Item *it2 = NULL;
-             Eina_List *ll = eina_list_last(after->items);
-             if (ll) it2 = ll->data;
-             else it2 = after;
-
-             wd->items =
-                eina_inlist_append_relative(wd->items, EINA_INLIST_GET(it),
-                                            EINA_INLIST_GET(it2));
-             it->rel = it2;
-             wd->group_items = eina_list_append_relative(wd->group_items, it,
-                                                         after);
-          }
+          wd->group_items = eina_list_append_relative(wd->group_items, it,
+                                                      after);
      }
    else
      {
         it->parent->items = eina_list_append_relative(it->parent->items, it,
                                                       after);
-        wd->items = eina_inlist_append_relative(wd->items, EINA_INLIST_GET(it),
-                                                EINA_INLIST_GET(after));
-        it->rel = after;
      }
+   wd->items = eina_inlist_append_relative(wd->items, EINA_INLIST_GET(it),
+                                           EINA_INLIST_GET(after));
+   it->rel = after;
    it->rel->relcount++;
    it->before = EINA_FALSE;
    _item_queue(wd, it);