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
This commit is contained in:
Daniel Juyung Seo 2012-03-15 11:24:20 +00:00
parent f49349b9e0
commit 7e43cd1abd
1 changed files with 1 additions and 1 deletions

View File

@ -3529,7 +3529,6 @@ _item_select(Elm_Gen_Item *it)
evas_object_smart_callback_call(WIDGET(it), SIG_SELECTED, it);
it->walking--;
it->wd->walking--;
evas_object_unref(WIDGET(it));
if ((it->wd->clear_me) && (!it->wd->walking))
_elm_genlist_clear(WIDGET(it), EINA_TRUE);
else
@ -3545,6 +3544,7 @@ _item_select(Elm_Gen_Item *it)
else
it->wd->last_selected_item = (Elm_Object_Item *)it;
}
evas_object_unref(WIDGET(it));
}
static Evas_Object *