summaryrefslogtreecommitdiff
path: root/src/bin/test_genlist.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-18 09:57:16 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-18 09:59:51 +0900
commit072166c0d8b5d3098f52ef7bf75f46f5d7cb46f6 (patch)
treefa0977372676ba058783e8678d80ac8bf8c3bcb8 /src/bin/test_genlist.c
parent41054c99dcf12297216dd6a78f5704887043fc83 (diff)
test_genlist.c: removed unnecessary spaces from legacy codes.
Diffstat (limited to '')
-rw-r--r--src/bin/test_genlist.c116
1 files changed, 58 insertions, 58 deletions
diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c
index 4d6e676f2..fdf148067 100644
--- a/src/bin/test_genlist.c
+++ b/src/bin/test_genlist.c
@@ -311,11 +311,11 @@ test_genlist(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
311 elm_win_resize_object_add(win, over); 311 elm_win_resize_object_add(win, over);
312 312
313 itc1 = elm_genlist_item_class_new(); 313 itc1 = elm_genlist_item_class_new();
314 itc1->item_style = "default"; 314 itc1->item_style = "default";
315 itc1->func.text_get = gl_text_get; 315 itc1->func.text_get = gl_text_get;
316 itc1->func.content_get = gl_content_get; 316 itc1->func.content_get = gl_content_get;
317 itc1->func.state_get = gl_state_get; 317 itc1->func.state_get = gl_state_get;
318 itc1->func.del = NULL; 318 itc1->func.del = NULL;
319 319
320 bt_50 = elm_button_add(win); 320 bt_50 = elm_button_add(win);
321 elm_object_text_set(bt_50, "Go to 50"); 321 elm_object_text_set(bt_50, "Go to 50");
@@ -367,11 +367,11 @@ my_gl_add(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED
367 return; 367 return;
368 } 368 }
369 369
370 itc1->item_style = "default"; 370 itc1->item_style = "default";
371 itc1->func.text_get = gl_text_get; 371 itc1->func.text_get = gl_text_get;
372 itc1->func.content_get = gl_content_get; 372 itc1->func.content_get = gl_content_get;
373 itc1->func.state_get = gl_state_get; 373 itc1->func.state_get = gl_state_get;
374 itc1->func.del = NULL; 374 itc1->func.del = NULL;
375 375
376 elm_genlist_item_append(gl, itc1, 376 elm_genlist_item_append(gl, itc1,
377 (void *)(uintptr_t)i/* item data */, 377 (void *)(uintptr_t)i/* item data */,
@@ -395,11 +395,11 @@ my_gl_insert_before(void *data, Evas_Object *obj EINA_UNUSED, void *event_info E
395 return; 395 return;
396 } 396 }
397 397
398 itc1->item_style = "default"; 398 itc1->item_style = "default";
399 itc1->func.text_get = gl_text_get; 399 itc1->func.text_get = gl_text_get;
400 itc1->func.content_get = gl_content_get; 400 itc1->func.content_get = gl_content_get;
401 itc1->func.state_get = gl_state_get; 401 itc1->func.state_get = gl_state_get;
402 itc1->func.del = NULL; 402 itc1->func.del = NULL;
403 403
404 gli_selected = elm_genlist_selected_item_get(gl); 404 gli_selected = elm_genlist_selected_item_get(gl);
405 if (!gli_selected) 405 if (!gli_selected)
@@ -431,11 +431,11 @@ my_gl_insert_after(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EI
431 return; 431 return;
432 } 432 }
433 433
434 itc1->item_style = "default"; 434 itc1->item_style = "default";
435 itc1->func.text_get = gl_text_get; 435 itc1->func.text_get = gl_text_get;
436 itc1->func.content_get = gl_content_get; 436 itc1->func.content_get = gl_content_get;
437 itc1->func.state_get = gl_state_get; 437 itc1->func.state_get = gl_state_get;
438 itc1->func.del = NULL; 438 itc1->func.del = NULL;
439 439
440 gli_selected = elm_genlist_selected_item_get(gl); 440 gli_selected = elm_genlist_selected_item_get(gl);
441 if (!gli_selected) 441 if (!gli_selected)
@@ -569,11 +569,11 @@ test_genlist2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
569 evas_object_show(gl); 569 evas_object_show(gl);
570 570
571 itc1 = elm_genlist_item_class_new(); 571 itc1 = elm_genlist_item_class_new();
572 itc1->item_style = "default"; 572 itc1->item_style = "default";
573 itc1->func.text_get = gl_text_get; 573 itc1->func.text_get = gl_text_get;
574 itc1->func.content_get = gl_content_get; 574 itc1->func.content_get = gl_content_get;
575 itc1->func.state_get = gl_state_get; 575 itc1->func.state_get = gl_state_get;
576 itc1->func.del = NULL; 576 itc1->func.del = NULL;
577 577
578 gli[0] = elm_genlist_item_append(gl, itc1, 578 gli[0] = elm_genlist_item_append(gl, itc1,
579 (void *)1001/* item data */, NULL/* parent */, ELM_GENLIST_ITEM_NONE, gl_sel/* func */, 579 (void *)1001/* item data */, NULL/* parent */, ELM_GENLIST_ITEM_NONE, gl_sel/* func */,
@@ -804,11 +804,11 @@ test_genlist3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
804 evas_object_size_hint_weight_set(gl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 804 evas_object_size_hint_weight_set(gl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
805 evas_object_show(gl); 805 evas_object_show(gl);
806 806
807 itc2.item_style = "default"; 807 itc2.item_style = "default";
808 itc2.func.text_get = gl2_text_get; 808 itc2.func.text_get = gl2_text_get;
809 itc2.func.content_get = gl2_content_get; 809 itc2.func.content_get = gl2_content_get;
810 itc2.func.state_get = gl2_state_get; 810 itc2.func.state_get = gl2_state_get;
811 itc2.func.del = NULL; 811 itc2.func.del = NULL;
812 812
813 tit[0].mode = 0; 813 tit[0].mode = 0;
814 tit[0].item = elm_genlist_item_append(gl, &itc2, 814 tit[0].item = elm_genlist_item_append(gl, &itc2,
@@ -954,11 +954,11 @@ test_genlist4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
954 evas_object_smart_callback_add(gl, "realized", _realized, NULL); 954 evas_object_smart_callback_add(gl, "realized", _realized, NULL);
955 955
956 itc3 = elm_genlist_item_class_new(); 956 itc3 = elm_genlist_item_class_new();
957 itc3->item_style = "default"; 957 itc3->item_style = "default";
958 itc3->func.text_get = gl3_text_get; 958 itc3->func.text_get = gl3_text_get;
959 itc3->func.content_get = gl3_content_get; 959 itc3->func.content_get = gl3_content_get;
960 itc3->func.state_get = gl3_state_get; 960 itc3->func.state_get = gl3_state_get;
961 itc3->func.del = NULL; 961 itc3->func.del = NULL;
962 962
963 tit[0].mode = 0; 963 tit[0].mode = 0;
964 tit[0].item = elm_genlist_item_append(gl, itc3, 964 tit[0].item = elm_genlist_item_append(gl, itc3,
@@ -1168,11 +1168,11 @@ test_genlist5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
1168 evas_object_size_hint_align_set(gl, EVAS_HINT_FILL, EVAS_HINT_FILL); 1168 evas_object_size_hint_align_set(gl, EVAS_HINT_FILL, EVAS_HINT_FILL);
1169 evas_object_size_hint_weight_set(gl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 1169 evas_object_size_hint_weight_set(gl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
1170 evas_object_show(gl); 1170 evas_object_show(gl);
1171 itc5.item_style = "double_label"; 1171 itc5.item_style = "double_label";
1172 itc5.func.text_get = gl5_text_get; 1172 itc5.func.text_get = gl5_text_get;
1173 itc5.func.content_get = gl5_content_get; 1173 itc5.func.content_get = gl5_content_get;
1174 itc5.func.state_get = gl5_state_get; 1174 itc5.func.state_get = gl5_state_get;
1175 itc5.func.del = NULL; 1175 itc5.func.del = NULL;
1176 1176
1177 tit[0].mode = 0; 1177 tit[0].mode = 0;
1178 tit[0].item = elm_genlist_item_append(gl, &itc5, 1178 tit[0].item = elm_genlist_item_append(gl, &itc5,
@@ -1389,18 +1389,18 @@ test_genlist6(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
1389 evas_object_smart_callback_add(gl, "edge,bottom", scroll_bottom, NULL); 1389 evas_object_smart_callback_add(gl, "edge,bottom", scroll_bottom, NULL);
1390 1390
1391 itc1 = elm_genlist_item_class_new(); 1391 itc1 = elm_genlist_item_class_new();
1392 itc1->item_style = "default"; 1392 itc1->item_style = "default";
1393 itc1->func.text_get = gl4_text_get; 1393 itc1->func.text_get = gl4_text_get;
1394 itc1->func.content_get = gl4_content_get; 1394 itc1->func.content_get = gl4_content_get;
1395 itc1->func.state_get = gl4_state_get; 1395 itc1->func.state_get = gl4_state_get;
1396 itc1->func.del = gl4_del; 1396 itc1->func.del = gl4_del;
1397 1397
1398 itc4 = elm_genlist_item_class_new(); 1398 itc4 = elm_genlist_item_class_new();
1399 itc4->item_style = "tree_effect"; 1399 itc4->item_style = "tree_effect";
1400 itc4->func.text_get = gl4_text_get; 1400 itc4->func.text_get = gl4_text_get;
1401 itc4->func.content_get = gl4_content_get; 1401 itc4->func.content_get = gl4_content_get;
1402 itc4->func.state_get = gl4_state_get; 1402 itc4->func.state_get = gl4_state_get;
1403 itc4->func.del = gl4_del; 1403 itc4->func.del = gl4_del;
1404 1404
1405 elm_genlist_item_append(gl, itc4, 1405 elm_genlist_item_append(gl, itc4,
1406 (void *)1/* item data */, NULL/* parent */, ELM_GENLIST_ITEM_TREE, gl4_sel/* func */, 1406 (void *)1/* item data */, NULL/* parent */, ELM_GENLIST_ITEM_TREE, gl4_sel/* func */,
@@ -1517,17 +1517,17 @@ test_genlist7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
1517 evas_object_show(gl); 1517 evas_object_show(gl);
1518 elm_naviframe_item_simple_push(naviframe, gl); 1518 elm_naviframe_item_simple_push(naviframe, gl);
1519 1519
1520 itc2.item_style = "default"; 1520 itc2.item_style = "default";
1521 itc2.func.text_get = gl2_text_get; 1521 itc2.func.text_get = gl2_text_get;
1522 itc2.func.content_get = gl2_content_get; 1522 itc2.func.content_get = gl2_content_get;
1523 itc2.func.state_get = gl2_state_get; 1523 itc2.func.state_get = gl2_state_get;
1524 itc2.func.del = NULL; 1524 itc2.func.del = NULL;
1525 1525
1526 itc7.item_style = "double_label"; 1526 itc7.item_style = "double_label";
1527 itc7.func.text_get = gl5_text_get; 1527 itc7.func.text_get = gl5_text_get;
1528 itc7.func.content_get = gl5_content_get; 1528 itc7.func.content_get = gl5_content_get;
1529 itc7.func.state_get = gl5_state_get; 1529 itc7.func.state_get = gl5_state_get;
1530 itc7.func.del = NULL; 1530 itc7.func.del = NULL;
1531 1531
1532 tit[0].mode = 0; 1532 tit[0].mode = 0;
1533 tit[0].item = elm_genlist_item_append(gl, &itc2, 1533 tit[0].item = elm_genlist_item_append(gl, &itc2,
@@ -1601,18 +1601,18 @@ test_genlist8(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
1601 elm_genlist_homogeneous_set(gl, EINA_TRUE); 1601 elm_genlist_homogeneous_set(gl, EINA_TRUE);
1602 1602
1603 itc1 = elm_genlist_item_class_new(); 1603 itc1 = elm_genlist_item_class_new();
1604 itc1->item_style = "default"; 1604 itc1->item_style = "default";
1605 itc1->func.text_get = gl_text_get; 1605 itc1->func.text_get = gl_text_get;
1606 itc1->func.content_get = gl_content_get; 1606 itc1->func.content_get = gl_content_get;
1607 itc1->func.state_get = gl_state_get; 1607 itc1->func.state_get = gl_state_get;
1608 itc1->func.del = NULL; 1608 itc1->func.del = NULL;
1609 1609
1610 itc_group = elm_genlist_item_class_new(); 1610 itc_group = elm_genlist_item_class_new();
1611 itc_group->item_style = "group_index"; 1611 itc_group->item_style = "group_index";
1612 itc_group->func.text_get = gl8_text_get; 1612 itc_group->func.text_get = gl8_text_get;
1613 itc_group->func.content_get = NULL; 1613 itc_group->func.content_get = NULL;
1614 itc_group->func.state_get = NULL; 1614 itc_group->func.state_get = NULL;
1615 itc_group->func.del = NULL; 1615 itc_group->func.del = NULL;
1616 1616
1617 bx2 = elm_box_add(win); 1617 bx2 = elm_box_add(win);
1618 elm_box_horizontal_set(bx2, EINA_TRUE); 1618 elm_box_horizontal_set(bx2, EINA_TRUE);
@@ -1814,18 +1814,18 @@ test_genlist9(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
1814 evas_object_show(gl); 1814 evas_object_show(gl);
1815 1815
1816 itc1 = elm_genlist_item_class_new(); 1816 itc1 = elm_genlist_item_class_new();
1817 itc1->item_style = "default"; 1817 itc1->item_style = "default";
1818 itc1->func.text_get = gl_text_get; 1818 itc1->func.text_get = gl_text_get;
1819 itc1->func.content_get = gl_content_get; 1819 itc1->func.content_get = gl_content_get;
1820 itc1->func.state_get = gl_state_get; 1820 itc1->func.state_get = gl_state_get;
1821 itc1->func.del = NULL; 1821 itc1->func.del = NULL;
1822 1822
1823 itc_group = elm_genlist_item_class_new(); 1823 itc_group = elm_genlist_item_class_new();
1824 itc_group->item_style = "group_index"; 1824 itc_group->item_style = "group_index";
1825 itc_group->func.text_get = gl8_text_get; 1825 itc_group->func.text_get = gl8_text_get;
1826 itc_group->func.content_get = NULL; 1826 itc_group->func.content_get = NULL;
1827 itc_group->func.state_get = NULL; 1827 itc_group->func.state_get = NULL;
1828 itc_group->func.del = NULL; 1828 itc_group->func.del = NULL;
1829 1829
1830 git = elm_genlist_item_append(gl, itc_group, 1830 git = elm_genlist_item_append(gl, itc_group,
1831 (void *)0/* item data */, NULL/* parent */, ELM_GENLIST_ITEM_GROUP, gl4_sel/* func */, 1831 (void *)0/* item data */, NULL/* parent */, ELM_GENLIST_ITEM_GROUP, gl4_sel/* func */,
@@ -1980,12 +1980,12 @@ test_genlist10(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
1980 evas_object_smart_callback_add(gl, "drag,start,down", _my_gl_mode_cancel, rdg); 1980 evas_object_smart_callback_add(gl, "drag,start,down", _my_gl_mode_cancel, rdg);
1981 evas_object_show(gl); 1981 evas_object_show(gl);
1982 1982
1983 itc10.item_style = "default"; 1983 itc10.item_style = "default";
1984 itc10.decorate_item_style = "mode"; 1984 itc10.decorate_item_style = "mode";
1985 itc10.func.text_get = gl10_text_get; 1985 itc10.func.text_get = gl10_text_get;
1986 itc10.func.content_get = gl10_content_get; 1986 itc10.func.content_get = gl10_content_get;
1987 itc10.func.state_get = gl_state_get; 1987 itc10.func.state_get = gl_state_get;
1988 itc10.func.del = NULL; 1988 itc10.func.del = NULL;
1989 1989
1990 for (i = 0; i < 50; i++) 1990 for (i = 0; i < 50; i++)
1991 elm_genlist_item_append(gl, 1991 elm_genlist_item_append(gl,
@@ -2105,11 +2105,11 @@ test_genlist11(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
2105 evas_object_show(tg); 2105 evas_object_show(tg);
2106 2106
2107 itc1 = elm_genlist_item_class_new(); 2107 itc1 = elm_genlist_item_class_new();
2108 itc1->item_style = "default"; 2108 itc1->item_style = "default";
2109 itc1->func.text_get = gl_text_get; 2109 itc1->func.text_get = gl_text_get;
2110 itc1->func.content_get = gl_content_get; 2110 itc1->func.content_get = gl_content_get;
2111 itc1->func.state_get = gl_state_get; 2111 itc1->func.state_get = gl_state_get;
2112 itc1->func.del = NULL; 2112 itc1->func.del = NULL;
2113 evas_object_smart_callback_add(gl, "moved", (Evas_Smart_Cb)gl_moved, gl); 2113 evas_object_smart_callback_add(gl, "moved", (Evas_Smart_Cb)gl_moved, gl);
2114 evas_object_smart_callback_add(gl, "moved,after", (Evas_Smart_Cb)gl_moved_after, gl); 2114 evas_object_smart_callback_add(gl, "moved,after", (Evas_Smart_Cb)gl_moved_after, gl);
2115 evas_object_smart_callback_add(gl, "moved,before", (Evas_Smart_Cb)gl_moved_before, gl); 2115 evas_object_smart_callback_add(gl, "moved,before", (Evas_Smart_Cb)gl_moved_before, gl);
@@ -2160,11 +2160,11 @@ test_genlist12(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
2160 evas_object_show(gl); 2160 evas_object_show(gl);
2161 2161
2162 itc1 = elm_genlist_item_class_new(); 2162 itc1 = elm_genlist_item_class_new();
2163 itc1->item_style = "message"; 2163 itc1->item_style = "message";
2164 itc1->func.text_get = gl12_text_get; 2164 itc1->func.text_get = gl12_text_get;
2165 itc1->func.content_get = gl_content_get; 2165 itc1->func.content_get = gl_content_get;
2166 itc1->func.state_get = gl_state_get; 2166 itc1->func.state_get = gl_state_get;
2167 itc1->func.del = NULL; 2167 itc1->func.del = NULL;
2168 2168
2169 for (i = 0; i < 1000; i++) 2169 for (i = 0; i < 1000; i++)
2170 { 2170 {
@@ -2605,11 +2605,11 @@ test_genlist15(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
2605 evas_object_show(gl); 2605 evas_object_show(gl);
2606 2606
2607 itc15 = elm_genlist_item_class_new(); 2607 itc15 = elm_genlist_item_class_new();
2608 itc15->item_style = "default"; 2608 itc15->item_style = "default";
2609 itc15->func.text_get = gl15_text_get; 2609 itc15->func.text_get = gl15_text_get;
2610 itc15->func.content_get = gl15_content_get; 2610 itc15->func.content_get = gl15_content_get;
2611 itc15->func.state_get = gl_state_get; 2611 itc15->func.state_get = gl_state_get;
2612 itc15->func.del = gl15_del; 2612 itc15->func.del = gl15_del;
2613 itc15->decorate_all_item_style = "edit"; 2613 itc15->decorate_all_item_style = "edit";
2614 2614
2615 for (i = 0; i < 100; i++) 2615 for (i = 0; i < 100; i++)
@@ -2737,11 +2737,11 @@ test_genlist16(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
2737 elm_genlist_select_mode_set(gl, ELM_OBJECT_SELECT_MODE_ALWAYS); 2737 elm_genlist_select_mode_set(gl, ELM_OBJECT_SELECT_MODE_ALWAYS);
2738 2738
2739 itc15 = elm_genlist_item_class_new(); 2739 itc15 = elm_genlist_item_class_new();
2740 itc15->item_style = "default"; 2740 itc15->item_style = "default";
2741 itc15->func.text_get = gl16_text_get; 2741 itc15->func.text_get = gl16_text_get;
2742 itc15->func.content_get = gl16_content_get; 2742 itc15->func.content_get = gl16_content_get;
2743 itc15->func.state_get = gl_state_get; 2743 itc15->func.state_get = gl_state_get;
2744 itc15->func.del = NULL; 2744 itc15->func.del = NULL;
2745 itc15->decorate_all_item_style = "edit"; 2745 itc15->decorate_all_item_style = "edit";
2746 2746
2747 for (i = 0; i < 100; i++) 2747 for (i = 0; i < 100; i++)
@@ -2899,12 +2899,12 @@ test_genlist17(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
2899 evas_object_show(gl); 2899 evas_object_show(gl);
2900 2900
2901 itc17 = elm_genlist_item_class_new(); 2901 itc17 = elm_genlist_item_class_new();
2902 itc17->item_style = "default"; 2902 itc17->item_style = "default";
2903 itc17->decorate_item_style = "mode"; 2903 itc17->decorate_item_style = "mode";
2904 itc17->func.text_get = gl15_text_get; 2904 itc17->func.text_get = gl15_text_get;
2905 itc17->func.content_get = gl15_content_get; 2905 itc17->func.content_get = gl15_content_get;
2906 itc17->func.state_get = gl_state_get; 2906 itc17->func.state_get = gl_state_get;
2907 itc17->func.del = NULL; 2907 itc17->func.del = NULL;
2908 itc17->decorate_all_item_style = "edit"; 2908 itc17->decorate_all_item_style = "edit";
2909 2909
2910 for (i = 0; i < 50; i++) 2910 for (i = 0; i < 50; i++)
@@ -3078,20 +3078,20 @@ test_genlist18(void *data EINA_UNUSED,
3078 3078
3079 /* normal item */ 3079 /* normal item */
3080 itc18 = elm_genlist_item_class_new(); 3080 itc18 = elm_genlist_item_class_new();
3081 itc18->item_style = "tree_effect"; /* item/tree_effect */ 3081 itc18->item_style = "tree_effect"; /* item/tree_effect */
3082 itc18->func.text_get = gl15_text_get; 3082 itc18->func.text_get = gl15_text_get;
3083 itc18->func.content_get = gl15_content_get; 3083 itc18->func.content_get = gl15_content_get;
3084 itc18->func.state_get = gl_state_get; 3084 itc18->func.state_get = gl_state_get;
3085 itc18->func.del = gl18_del; 3085 itc18->func.del = gl18_del;
3086 itc18->decorate_all_item_style = "edit"; 3086 itc18->decorate_all_item_style = "edit";
3087 3087
3088 /* expandable item */ 3088 /* expandable item */
3089 itc18_tree = elm_genlist_item_class_new(); 3089 itc18_tree = elm_genlist_item_class_new();
3090 itc18_tree->item_style = "tree_effect"; /* tree/tree_effect */ 3090 itc18_tree->item_style = "tree_effect"; /* tree/tree_effect */
3091 itc18_tree->func.text_get = gl15_text_get; 3091 itc18_tree->func.text_get = gl15_text_get;
3092 itc18_tree->func.content_get = gl15_content_get; 3092 itc18_tree->func.content_get = gl15_content_get;
3093 itc18_tree->func.state_get = gl_state_get; 3093 itc18_tree->func.state_get = gl_state_get;
3094 itc18_tree->func.del = gl18_del; 3094 itc18_tree->func.del = gl18_del;
3095 itc18_tree->decorate_all_item_style = "edit"; 3095 itc18_tree->decorate_all_item_style = "edit";
3096 3096
3097 for (i = 0; i < 5; i++) 3097 for (i = 0; i < 5; i++)
@@ -3195,11 +3195,11 @@ test_genlist19(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
3195 elm_win_resize_object_add(win, over); 3195 elm_win_resize_object_add(win, over);
3196 3196
3197 itc1 = elm_genlist_item_class_new(); 3197 itc1 = elm_genlist_item_class_new();
3198 itc1->item_style = "full"; 3198 itc1->item_style = "full";
3199 itc1->func.text_get = NULL; 3199 itc1->func.text_get = NULL;
3200 itc1->func.content_get = gl_content_full_get; 3200 itc1->func.content_get = gl_content_full_get;
3201 itc1->func.state_get = gl_state_get; 3201 itc1->func.state_get = gl_state_get;
3202 itc1->func.del = NULL; 3202 itc1->func.del = NULL;
3203 3203
3204 bt_50 = elm_button_add(win); 3204 bt_50 = elm_button_add(win);
3205 elm_object_text_set(bt_50, "Go to 50"); 3205 elm_object_text_set(bt_50, "Go to 50");
@@ -3358,18 +3358,18 @@ test_genlist20(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
3358 elm_box_pack_end(bxx, bx); 3358 elm_box_pack_end(bxx, bx);
3359 3359
3360 itc1 = elm_genlist_item_class_new(); 3360 itc1 = elm_genlist_item_class_new();
3361 itc1->item_style = "default"; 3361 itc1->item_style = "default";
3362 itc1->func.text_get = gl20_text_get; 3362 itc1->func.text_get = gl20_text_get;
3363 itc1->func.content_get = gl20_content_get; 3363 itc1->func.content_get = gl20_content_get;
3364 itc1->func.state_get = NULL; 3364 itc1->func.state_get = NULL;
3365 itc1->func.del = NULL; 3365 itc1->func.del = NULL;
3366 3366
3367 itc4 = elm_genlist_item_class_new(); 3367 itc4 = elm_genlist_item_class_new();
3368 itc4->item_style = "tree_effect"; 3368 itc4->item_style = "tree_effect";
3369 itc4->func.text_get = gl20_text_get; 3369 itc4->func.text_get = gl20_text_get;
3370 itc4->func.content_get = gl20_content_get; 3370 itc4->func.content_get = gl20_content_get;
3371 itc4->func.state_get = NULL; 3371 itc4->func.state_get = NULL;
3372 itc4->func.del = NULL; 3372 itc4->func.del = NULL;
3373 3373
3374 for (lhand = 0; lhand < _gl20_objects; lhand++) 3374 for (lhand = 0; lhand < _gl20_objects; lhand++)
3375 { 3375 {
@@ -3613,11 +3613,11 @@ test_genlist_multi_select(void *data EINA_UNUSED,
3613 evas_object_show(gl); 3613 evas_object_show(gl);
3614 3614
3615 itc = elm_genlist_item_class_new(); 3615 itc = elm_genlist_item_class_new();
3616 itc->item_style = "default"; 3616 itc->item_style = "default";
3617 itc->func.text_get = gl_text_get; 3617 itc->func.text_get = gl_text_get;
3618 itc->func.content_get = gl_content_get; 3618 itc->func.content_get = gl_content_get;
3619 itc->func.state_get = gl_state_get; 3619 itc->func.state_get = gl_state_get;
3620 itc->func.del = NULL; 3620 itc->func.del = NULL;
3621 3621
3622 for (i = 0; i < 100; i++) 3622 for (i = 0; i < 100; i++)
3623 { 3623 {
@@ -3764,11 +3764,11 @@ test_genlist_del(void *data EINA_UNUSED,
3764 evas_object_show(lb); 3764 evas_object_show(lb);
3765 3765
3766 itc = elm_genlist_item_class_new(); 3766 itc = elm_genlist_item_class_new();
3767 itc->item_style = "default"; 3767 itc->item_style = "default";
3768 itc->func.text_get = _gl_del_text_get; 3768 itc->func.text_get = _gl_del_text_get;
3769 itc->func.content_get = gl_content_get; 3769 itc->func.content_get = gl_content_get;
3770 itc->func.state_get = NULL; 3770 itc->func.state_get = NULL;
3771 itc->func.del = _gl_del_del_cb; 3771 itc->func.del = _gl_del_del_cb;
3772 evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, 3772 evas_object_event_callback_add(win, EVAS_CALLBACK_DEL,
3773 _gl_del_win_del_cb, itc); 3773 _gl_del_win_del_cb, itc);
3774 3774