summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-01-14 22:07:00 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-01-14 22:07:00 +0900
commit55ecd6f53d1df01fc38bf9a38baf387a2c636021 (patch)
tree24f9c8429c46296d35a396a8118d92dd3eb4e68d
parentb45220bf2bad42f56db4ec329c7c1bd9b4c0ba30 (diff)
genlist: set missed item reference.
this missing would cause crash of the genlist when it's items are cleared.
-rw-r--r--src/lib/elm_genlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 58f3b90a6..3083f0f9c 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -6145,6 +6145,7 @@ _elm_genlist_item_insert_before(Eo *obj, Elm_Genlist_Data *sd, const Elm_Genlist
6145 (sd->items, EINA_INLIST_GET(it), EINA_INLIST_GET(before)); 6145 (sd->items, EINA_INLIST_GET(it), EINA_INLIST_GET(before));
6146 6146
6147 it->item->rel = before; 6147 it->item->rel = before;
6148 GL_IT(before)->rel_revs = eina_list_append(GL_IT(before)->rel_revs, it);
6148 it->item->before = EINA_TRUE; 6149 it->item->before = EINA_TRUE;
6149 _item_queue(sd, it, NULL); 6150 _item_queue(sd, it, NULL);
6150 6151