summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-09-06 01:33:22 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-09-06 01:33:22 +0900
commit394d0e7a64039d8e27e846364980d898411096b0 (patch)
treedcc87f838e8b49e1c789789ee56fe7cd1ccbd5ee /src/bin
parent4e96295f5a883b2b4f985dac361cd6f59277c06a (diff)
test_genlist: Removed unnecessary casting.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/test_genlist.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c
index 67cdcf0a6..4fc7c4d59 100644
--- a/src/bin/test_genlist.c
+++ b/src/bin/test_genlist.c
@@ -348,9 +348,7 @@ test_genlist(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
348static void 348static void
349my_gl_clear(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) 349my_gl_clear(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
350{ 350{
351 api_data *api = data; 351 elm_genlist_clear(data);
352 Evas_Object *gl = api->gl;
353 elm_genlist_clear(gl);
354} 352}
355 353
356static void 354static void
@@ -656,7 +654,7 @@ test_genlist2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
656 654
657 bt = elm_button_add(win); 655 bt = elm_button_add(win);
658 elm_object_text_set(bt, "X"); 656 elm_object_text_set(bt, "X");
659 evas_object_smart_callback_add(bt, "clicked", my_gl_clear, api); 657 evas_object_smart_callback_add(bt, "clicked", my_gl_clear, gl);
660 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); 658 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
661 evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0); 659 evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0);
662 elm_box_pack_end(bx2, bt); 660 elm_box_pack_end(bx2, bt);