summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_canvas3d_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_canvas3d_object.c')
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_object.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_object.c b/src/lib/evas/canvas/evas_canvas3d_object.c
index e9604fa..04b0319 100644
--- a/src/lib/evas/canvas/evas_canvas3d_object.c
+++ b/src/lib/evas/canvas/evas_canvas3d_object.c
@@ -7,8 +7,8 @@ EOLIAN static Eo *
7_evas_canvas3d_object_eo_base_constructor(Eo *obj, Evas_Canvas3D_Object_Data *pd) 7_evas_canvas3d_object_eo_base_constructor(Eo *obj, Evas_Canvas3D_Object_Data *pd)
8{ 8{
9 Eo *e = NULL; 9 Eo *e = NULL;
10 obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 10 obj = eo_constructor(eo_super(obj, MY_CLASS));
11 eo_do(obj, e = eo_parent_get()); 11 e = eo_parent_get(obj);
12 pd->evas = e; 12 pd->evas = e;
13 pd->type = EVAS_CANVAS3D_OBJECT_TYPE_INVALID; 13 pd->type = EVAS_CANVAS3D_OBJECT_TYPE_INVALID;
14 memset(&pd->dirty[0], 0x00, sizeof(Eina_Bool) * EVAS_CANVAS3D_STATE_MAX); 14 memset(&pd->dirty[0], 0x00, sizeof(Eina_Bool) * EVAS_CANVAS3D_STATE_MAX);
@@ -50,7 +50,7 @@ _evas_canvas3d_object_change(Eo *obj, Evas_Canvas3D_Object_Data *pd, Evas_Canvas
50 pd->dirty[state] = EINA_TRUE; 50 pd->dirty[state] = EINA_TRUE;
51 pd->dirty[EVAS_CANVAS3D_STATE_ANY] = EINA_TRUE; 51 pd->dirty[EVAS_CANVAS3D_STATE_ANY] = EINA_TRUE;
52 52
53 eo_do(obj, evas_canvas3d_object_change_notify(state, ref)); 53 evas_canvas3d_object_change_notify(obj, state, ref);
54} 54}
55 55
56EOLIAN static void 56EOLIAN static void
@@ -59,7 +59,7 @@ _evas_canvas3d_object_update(Eo *obj, Evas_Canvas3D_Object_Data *pd)
59 if (!pd->dirty[EVAS_CANVAS3D_STATE_ANY]) 59 if (!pd->dirty[EVAS_CANVAS3D_STATE_ANY])
60 return; 60 return;
61 61
62 eo_do(obj, evas_canvas3d_object_update_notify()); 62 evas_canvas3d_object_update_notify(obj);
63 63
64 memset(&pd->dirty[0], 0x00, sizeof(Eina_Bool) * EVAS_CANVAS3D_STATE_MAX); 64 memset(&pd->dirty[0], 0x00, sizeof(Eina_Bool) * EVAS_CANVAS3D_STATE_MAX);
65} 65}
@@ -74,8 +74,8 @@ _evas_canvas3d_object_eo_base_event_callback_priority_add(Eo *obj,
74{ 74{
75 Eina_Bool r = EINA_FALSE; 75 Eina_Bool r = EINA_FALSE;
76 76
77 eo_do_super(obj, MY_CLASS, r = eo_event_callback_priority_add(desc, priority, func, user_data)); 77 r = eo_event_callback_priority_add(eo_super(obj, MY_CLASS), desc, priority, func, user_data);
78 eo_do(obj, evas_canvas3d_object_callback_register(desc->name, user_data)); 78 evas_canvas3d_object_callback_register(obj, desc->name, user_data);
79 79
80 return r; 80 return r;
81} 81}
@@ -87,8 +87,8 @@ _evas_canvas3d_object_eo_base_event_callback_del(Eo *obj, Evas_Canvas3D_Object_D
87 const void *user_data) 87 const void *user_data)
88{ 88{
89 Eina_Bool r = EINA_FALSE; 89 Eina_Bool r = EINA_FALSE;
90 eo_do_super(obj, MY_CLASS, r = eo_event_callback_del(desc, func, user_data)); 90 r = eo_event_callback_del(eo_super(obj, MY_CLASS), desc, func, user_data);
91 if (r) eo_do(obj, evas_canvas3d_object_callback_unregister(desc->name)); 91 if (r) evas_canvas3d_object_callback_unregister(obj, desc->name);
92 return r; 92 return r;
93} 93}
94 94