From: Bluezery <ohpowel@gmail.com>
[framework/uifw/elementary.git] / src / bin / test_store.c
index 5af6078..49598d7 100644 (file)
@@ -223,7 +223,6 @@ _st_store_unfetch(void *data __UNUSED__, Elm_Store_Item *sti)
    if (myit->date) free(myit->date);
    if (myit->head_content) free(myit->head_content);
    free(myit);
-   elm_store_item_data_set(sti, NULL);
 }
 
 void
@@ -248,7 +247,7 @@ test_store(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
    evas_object_show(bx);
 
    gl = elm_genlist_add(win);
-   elm_genlist_height_for_width_mode_set(gl, EINA_TRUE);
+   elm_genlist_mode_set(gl, ELM_LIST_COMPRESS);
    evas_object_smart_callback_add(gl, "selected", _st_selected, NULL);
    evas_object_smart_callback_add(gl, "clicked,double", _st_double_clicked, NULL);
    evas_object_smart_callback_add(gl, "longpressed", _st_longpress, NULL);