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)
downloadelementary-55ecd6f53d1df01fc38bf9a38baf387a2c636021.tar.gz
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
(sd->items, EINA_INLIST_GET(it), EINA_INLIST_GET(before));
it->item->rel = before;
+ GL_IT(before)->rel_revs = eina_list_append(GL_IT(before)->rel_revs, it);
it->item->before = EINA_TRUE;
_item_queue(sd, it, NULL);