summaryrefslogtreecommitdiff
path: root/src/examples/eo/evas/evas_elw_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/eo/evas/evas_elw_button.c')
-rw-r--r--src/examples/eo/evas/evas_elw_button.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/eo/evas/evas_elw_button.c b/src/examples/eo/evas/evas_elw_button.c
index 7067171..7dee7bb 100644
--- a/src/examples/eo/evas/evas_elw_button.c
+++ b/src/examples/eo/evas/evas_elw_button.c
@@ -28,7 +28,7 @@ _position_set(Eo *obj, void *class_data EINA_UNUSED, va_list *list)
28 x = va_arg(*list, Evas_Coord); 28 x = va_arg(*list, Evas_Coord);
29 y = va_arg(*list, Evas_Coord); 29 y = va_arg(*list, Evas_Coord);
30 printf("But set position %d,%d\n", x, y); 30 printf("But set position %d,%d\n", x, y);
31 eo_do_super(obj, MY_CLASS, exevas_obj_position_set(x, y)); 31 exevas_obj_position_set(eo_super(obj, MY_CLASS), x, y);
32} 32}
33 33
34static void 34static void
@@ -46,13 +46,13 @@ _btn_clicked(void *data, Evas_Object *evas_obj, void *event_info)
46 (void) evas_obj; 46 (void) evas_obj;
47 (void) event_info; 47 (void) event_info;
48 Eo *obj = data; 48 Eo *obj = data;
49 eo_do(obj, eo_event_callback_call(EV_CLICKED, NULL, NULL)); 49 eo_event_callback_call(obj, EV_CLICKED, NULL, NULL);
50} 50}
51 51
52static void 52static void
53_constructor(Eo *obj, void *class_data, va_list *list EINA_UNUSED) 53_constructor(Eo *obj, void *class_data, va_list *list EINA_UNUSED)
54{ 54{
55 eo_do_super(obj, MY_CLASS, eo_constructor()); 55 eo_constructor(eo_super(obj, MY_CLASS));
56 56
57 Widget_Data *wd = class_data; 57 Widget_Data *wd = class_data;
58 58
@@ -68,7 +68,7 @@ _constructor(Eo *obj, void *class_data, va_list *list EINA_UNUSED)
68static void 68static void
69_destructor(Eo *obj, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED) 69_destructor(Eo *obj, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED)
70{ 70{
71 eo_do_super(obj, MY_CLASS, eo_destructor()); 71 eo_destructor(eo_super(obj, MY_CLASS));
72 72
73 //Widget_Data *wd = class_data; 73 //Widget_Data *wd = class_data;
74 /* FIXME: Commented out because it's automatically done because our tree 74 /* FIXME: Commented out because it's automatically done because our tree