[*][Genlist] Applied genlist upstream patch r62823. [elementary] genlist_nastiness--
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Thu, 1 Sep 2011 01:15:38 +0000 (10:15 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Thu, 1 Sep 2011 01:16:19 +0000 (10:16 +0900)
http://www.youtube.com/watch?v=YaR9I7CEiJc

git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@62823 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_genlist.c

index 4384da5..92fdd55 100644 (file)
@@ -586,9 +586,9 @@ _del_pre_hook(Evas_Object *obj)
    Widget_Data *wd = elm_widget_data_get(obj);
    if (!wd) return;
    if (wd->edit_mode) elm_genlist_edit_mode_set(wd->obj, EINA_FALSE);
+   elm_genlist_clear(obj);
    evas_object_del(wd->pan_smart);
    wd->pan_smart = NULL;
-   elm_genlist_clear(obj);
 }
 
 static void