summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_root_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_root_node.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_root_node.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/canvas/evas_vg_root_node.c b/src/lib/evas/canvas/evas_vg_root_node.c
index f53587e..9925b79 100644
--- a/src/lib/evas/canvas/evas_vg_root_node.c
+++ b/src/lib/evas/canvas/evas_vg_root_node.c
@@ -45,12 +45,12 @@ _evas_vg_root_node_changed(void *data, const Eo_Event *event)
45} 45}
46 46
47static void 47static void
48_efl_vg_root_node_eo_base_parent_set(Eo *obj, 48_efl_vg_root_node_efl_object_parent_set(Eo *obj,
49 Efl_VG_Root_Node_Data *pd, 49 Efl_VG_Root_Node_Data *pd,
50 Eo *parent) 50 Eo *parent)
51{ 51{
52 // Nice little hack, jump over parent parent_set in Efl_VG_Root 52 // Nice little hack, jump over parent parent_set in Efl_VG_Root
53 eo_parent_set(eo_super(obj, EFL_VG_CLASS), parent); 53 efl_parent_set(eo_super(obj, EFL_VG_CLASS), parent);
54 if (parent && !eo_isa(parent, EVAS_VG_CLASS)) 54 if (parent && !eo_isa(parent, EVAS_VG_CLASS))
55 { 55 {
56 ERR("Parent of VG_ROOT_NODE must be a VG_CLASS"); 56 ERR("Parent of VG_ROOT_NODE must be a VG_CLASS");
@@ -63,7 +63,7 @@ _efl_vg_root_node_eo_base_parent_set(Eo *obj,
63} 63}
64 64
65static Eo * 65static Eo *
66_efl_vg_root_node_eo_base_constructor(Eo *obj, 66_efl_vg_root_node_efl_object_constructor(Eo *obj,
67 Efl_VG_Root_Node_Data *pd) 67 Efl_VG_Root_Node_Data *pd)
68{ 68{
69 Efl_VG_Container_Data *cd; 69 Efl_VG_Container_Data *cd;
@@ -77,8 +77,8 @@ _efl_vg_root_node_eo_base_constructor(Eo *obj,
77 cd->names = eina_hash_stringshared_new(NULL); 77 cd->names = eina_hash_stringshared_new(NULL);
78 78
79 // Nice little hack, jump over parent constructor in Efl_VG_Root 79 // Nice little hack, jump over parent constructor in Efl_VG_Root
80 obj = eo_constructor(eo_super(obj, EFL_VG_CLASS)); 80 obj = efl_constructor(eo_super(obj, EFL_VG_CLASS));
81 parent = eo_parent_get(obj); 81 parent = efl_parent_get(obj);
82 efl_vg_name_set(obj, "root"); 82 efl_vg_name_set(obj, "root");
83 if (!eo_isa(parent, EVAS_VG_CLASS)) { 83 if (!eo_isa(parent, EVAS_VG_CLASS)) {
84 ERR("Parent of VG_ROOT_NODE must be a VG_CLASS"); 84 ERR("Parent of VG_ROOT_NODE must be a VG_CLASS");
@@ -89,7 +89,7 @@ _efl_vg_root_node_eo_base_constructor(Eo *obj,
89 nd->render_pre = _evas_vg_root_node_render_pre; 89 nd->render_pre = _evas_vg_root_node_render_pre;
90 nd->data = cd; 90 nd->data = cd;
91 91
92 eo_event_callback_add(obj, EFL_GFX_CHANGED, _evas_vg_root_node_changed, pd); 92 efl_event_callback_add(obj, EFL_GFX_CHANGED, _evas_vg_root_node_changed, pd);
93 93
94 return obj; 94 return obj;
95} 95}