summaryrefslogtreecommitdiff
path: root/legacy/elementary
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-15 11:24:20 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-15 11:24:20 +0000
commit7e43cd1abd51892c4758b34d5940d8c278c60719 (patch)
tree637db894f414b051435380df38c8f39de42153df /legacy/elementary
parentf49349b9e013add0b04c205d517ba43fbe8a9f65 (diff)
elm genlist: Fixed evas_object_unref position problem. Patch by
Chanwook Jung <jchanwook@gmail.com> On Thu, Mar 15, 2012 at 7:25 PM, chanwook jung <jchanwook@gmail.com> wrote: > Dear all, > > This patch is evas_object_unref position change properly in _item_select. > > Thanks > Joey SVN revision: 69373
Diffstat (limited to 'legacy/elementary')
-rw-r--r--legacy/elementary/src/lib/elm_genlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c
index f24b67ea3b..3c22e955e1 100644
--- a/legacy/elementary/src/lib/elm_genlist.c
+++ b/legacy/elementary/src/lib/elm_genlist.c
@@ -3529,7 +3529,6 @@ _item_select(Elm_Gen_Item *it)
3529 evas_object_smart_callback_call(WIDGET(it), SIG_SELECTED, it); 3529 evas_object_smart_callback_call(WIDGET(it), SIG_SELECTED, it);
3530 it->walking--; 3530 it->walking--;
3531 it->wd->walking--; 3531 it->wd->walking--;
3532 evas_object_unref(WIDGET(it));
3533 if ((it->wd->clear_me) && (!it->wd->walking)) 3532 if ((it->wd->clear_me) && (!it->wd->walking))
3534 _elm_genlist_clear(WIDGET(it), EINA_TRUE); 3533 _elm_genlist_clear(WIDGET(it), EINA_TRUE);
3535 else 3534 else
@@ -3545,6 +3544,7 @@ _item_select(Elm_Gen_Item *it)
3545 else 3544 else
3546 it->wd->last_selected_item = (Elm_Object_Item *)it; 3545 it->wd->last_selected_item = (Elm_Object_Item *)it;
3547 } 3546 }
3547 evas_object_unref(WIDGET(it));
3548} 3548}
3549 3549
3550static Evas_Object * 3550static Evas_Object *