diff options
author | Tom Hacohen <tom@stosb.com> | 2014-09-25 10:24:27 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2014-09-25 10:30:56 +0100 |
commit | 6846978ebd027fff1de57d526071517243354354 (patch) | |
tree | 6ff7651990561224738e332b2ccd3fa84e47dc4f /src/examples/evas/evas-3d-pick.c | |
parent | 8204212f36d936f951accda61fd2f7f329390b71 (diff) | |
download | efl-6846978ebd027fff1de57d526071517243354354.tar.gz |
Eo: Get rid of eo_add_custom.
We decided to deprecate this one in favour of setting thing in the
construction between the constructor and the finalizer.
Diffstat (limited to 'src/examples/evas/evas-3d-pick.c')
-rw-r--r-- | src/examples/evas/evas-3d-pick.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/evas/evas-3d-pick.c b/src/examples/evas/evas-3d-pick.c index 143094d538..321183ab63 100644 --- a/src/examples/evas/evas-3d-pick.c +++ b/src/examples/evas/evas-3d-pick.c @@ -294,7 +294,7 @@ main(void) scene = eo_add(EVAS_3D_SCENE_CLASS, evas); /* Add the root node for the scene. */ - root_node = eo_add_custom(EVAS_3D_NODE_CLASS, evas, + root_node = eo_add(EVAS_3D_NODE_CLASS, evas, evas_3d_node_constructor(EVAS_3D_NODE_TYPE_NODE)); /* Add the camera. */ @@ -303,7 +303,7 @@ main(void) evas_3d_camera_projection_perspective_set(30.0, 1.0, 1.0, 100.0)); camera_node = - eo_add_custom(EVAS_3D_NODE_CLASS, evas, + eo_add(EVAS_3D_NODE_CLASS, evas, evas_3d_node_constructor(EVAS_3D_NODE_TYPE_CAMERA)); eo_do(camera_node, evas_3d_node_camera_set(camera), @@ -361,7 +361,7 @@ main(void) 1.0), evas_3d_material_shininess_set(50.0)); - mesh_node = eo_add_custom(EVAS_3D_NODE_CLASS, evas, + mesh_node = eo_add(EVAS_3D_NODE_CLASS, evas, evas_3d_node_constructor(EVAS_3D_NODE_TYPE_MESH)); eo_do(root_node, evas_3d_node_member_add(mesh_node)); |