summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_canvas3d_primitive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_canvas3d_primitive.c')
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_primitive.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_primitive.c b/src/lib/evas/canvas/evas_canvas3d_primitive.c
index ab07d13..76dcdd6 100644
--- a/src/lib/evas/canvas/evas_canvas3d_primitive.c
+++ b/src/lib/evas/canvas/evas_canvas3d_primitive.c
@@ -20,8 +20,7 @@ evas_canvas3d_primitive_add(Evas *e)
20 MAGIC_CHECK(e, Evas, MAGIC_EVAS); 20 MAGIC_CHECK(e, Evas, MAGIC_EVAS);
21 return NULL; 21 return NULL;
22 MAGIC_CHECK_END(); 22 MAGIC_CHECK_END();
23 Evas_Object *eo_obj = NULL; 23 Evas_Object *eo_obj = eo_add(MY_CLASS, e);
24 eo_add(&eo_obj, MY_CLASS, e);
25 return eo_obj; 24 return eo_obj;
26} 25}
27 26