forked from enlightenment/efl
elm test_list.c: Removed unwanted/unexpected codes from r70265
SVN revision: 70316
This commit is contained in:
parent
d80dd9cb7e
commit
243f5ab36f
|
@ -281,13 +281,6 @@ _cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *e
|
||||||
free(data);
|
free(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _filter_all_cb(void *data, Evas_Object *obj __UNUSED__,
|
|
||||||
void *event_info __UNUSED__)
|
|
||||||
{
|
|
||||||
Evas_Object *popup = (Evas_Object *)data;
|
|
||||||
evas_object_del(popup);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
test_list(void *data __UNUSED__,
|
test_list(void *data __UNUSED__,
|
||||||
Evas_Object *obj __UNUSED__,
|
Evas_Object *obj __UNUSED__,
|
||||||
|
@ -326,7 +319,7 @@ test_list(void *data __UNUSED__,
|
||||||
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
|
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
|
||||||
elm_icon_file_set(ic, buf, NULL);
|
elm_icon_file_set(ic, buf, NULL);
|
||||||
elm_icon_resizable_set(ic, 1, 1);
|
elm_icon_resizable_set(ic, 1, 1);
|
||||||
list_it1 = elm_list_item_append(li, "Hello", ic, NULL, _filter_all_cb, bxx);
|
list_it1 = elm_list_item_append(li, "Hello", ic, NULL, NULL, NULL);
|
||||||
ic = elm_icon_add(win);
|
ic = elm_icon_add(win);
|
||||||
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
|
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
|
||||||
elm_icon_resizable_set(ic, 0, 0);
|
elm_icon_resizable_set(ic, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue