summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_items.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-12-13 10:14:05 +0900
committerHermet Park <hermetpark@gmail.com>2019-12-13 10:14:05 +0900
commita8b1cfb6fca185537ebd42d91bc41bebd3248770 (patch)
treea04c9ed14a1b2aeea24ff1db918fc5149df18e0f /src/bin/elementary/test_ui_items.c
parent421836c1166dbc2c5c54fe9497766bab2cb979bc (diff)
parentdeb4cc896575caf145a457a429056d8cf9682e9c (diff)
Merge branch 'master' into devs/hermet/lottie
Diffstat (limited to 'src/bin/elementary/test_ui_items.c')
-rw-r--r--src/bin/elementary/test_ui_items.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/elementary/test_ui_items.c b/src/bin/elementary/test_ui_items.c
index 826f4e43e4..36c5f9719f 100644
--- a/src/bin/elementary/test_ui_items.c
+++ b/src/bin/elementary/test_ui_items.c
@@ -2,7 +2,6 @@
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4 4
5#include <Elementary.h>
6#include <Efl_Ui.h> 5#include <Efl_Ui.h>
7 6
8static Efl_Ui_Widget* 7static Efl_Ui_Widget*
@@ -15,7 +14,7 @@ _item_add(Eo *box, const Efl_Class *c, int i)
15 snprintf(buf, sizeof(buf), "%d - Test %d", i, i%13); 14 snprintf(buf, sizeof(buf), "%d - Test %d", i, i%13);
16 efl_text_set(il, buf); 15 efl_text_set(il, buf);
17 16
18 rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas_object_evas_get(il)); 17 rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, il);
19 switch (i % 5) 18 switch (i % 5)
20 { 19 {
21 case 0: 20 case 0:
@@ -49,7 +48,7 @@ _item_add(Eo *box, const Efl_Class *c, int i)
49} 48}
50 49
51void test_efl_ui_item(void *data EINA_UNUSED, 50void test_efl_ui_item(void *data EINA_UNUSED,
52 Evas_Object *obj EINA_UNUSED, 51 Efl_Object *obj EINA_UNUSED,
53 void *event_info EINA_UNUSED) 52 void *event_info EINA_UNUSED)
54{ 53{
55 Eo *win, *box, *o; 54 Eo *win, *box, *o;