summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/edje/edje_edit.c2
-rw-r--r--src/lib/edje/edje_smart.c2
-rw-r--r--src/lib/emotion/emotion_smart.c2
-rw-r--r--src/lib/evas/canvas/efl_canvas_event_grabber.c2
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_object.c2
-rw-r--r--src/lib/evas/canvas/evas_image_legacy.c4
-rw-r--r--src/lib/evas/canvas/evas_object_box.c2
-rw-r--r--src/lib/evas/canvas/evas_object_grid.c2
-rw-r--r--src/lib/evas/canvas/evas_object_line.c2
-rw-r--r--src/lib/evas/canvas/evas_object_polygon.c2
-rw-r--r--src/lib/evas/canvas/evas_object_rectangle.c2
-rw-r--r--src/lib/evas/canvas/evas_object_smart.c2
-rw-r--r--src/lib/evas/canvas/evas_object_table.c2
-rw-r--r--src/lib/evas/canvas/evas_object_text.c2
-rw-r--r--src/lib/evas/canvas/evas_object_textgrid.c2
15 files changed, 16 insertions, 16 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index ef0dd243aa..2527598c69 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -289,7 +289,7 @@ _edje_edit_efl_file_mmap_set(Eo *obj, Edje_Edit *eed, const Eina_File *mmap, con
289EAPI Evas_Object * 289EAPI Evas_Object *
290edje_edit_object_add(Evas *evas) 290edje_edit_object_add(Evas *evas)
291{ 291{
292 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); 292 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
293} 293}
294 294
295EOLIAN static Eo * 295EOLIAN static Eo *
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index 5d413649c6..c8bd123a8c 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -21,7 +21,7 @@ EAPI Evas_Object *
21edje_object_add(Evas *evas) 21edje_object_add(Evas *evas)
22{ 22{
23 EINA_SAFETY_ON_NULL_RETURN_VAL(evas, NULL); 23 EINA_SAFETY_ON_NULL_RETURN_VAL(evas, NULL);
24 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); 24 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
25} 25}
26 26
27EOLIAN static Eo * 27EOLIAN static Eo *
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index d52e27eaca..d68b84bce4 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -230,7 +230,7 @@ _clipper_position_size_update(Evas_Object *obj, int x, int y, int w, int h, int
230EAPI Evas_Object * 230EAPI Evas_Object *
231emotion_object_add(Evas *evas) 231emotion_object_add(Evas *evas)
232{ 232{
233 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); 233 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
234} 234}
235 235
236EOLIAN static Eo * 236EOLIAN static Eo *
diff --git a/src/lib/evas/canvas/efl_canvas_event_grabber.c b/src/lib/evas/canvas/efl_canvas_event_grabber.c
index 536e1ee916..deb1c28bcc 100644
--- a/src/lib/evas/canvas/efl_canvas_event_grabber.c
+++ b/src/lib/evas/canvas/efl_canvas_event_grabber.c
@@ -404,7 +404,7 @@ EAPI Evas_Object *
404evas_object_event_grabber_add(Evas *eo_e) 404evas_object_event_grabber_add(Evas *eo_e)
405{ 405{
406 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL); 406 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL);
407 return efl_add(MY_CLASS, eo_e, efl_canvas_object_legacy_ctor(efl_added)); 407 return efl_add(MY_CLASS, evas_find(eo_e), efl_canvas_object_legacy_ctor(efl_added));
408} 408}
409 409
410#include "efl_canvas_event_grabber.eo.c" 410#include "efl_canvas_event_grabber.eo.c"
diff --git a/src/lib/evas/canvas/efl_canvas_vg_object.c b/src/lib/evas/canvas/efl_canvas_vg_object.c
index 935e0021db..6d4ceaff0e 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_object.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_object.c
@@ -128,7 +128,7 @@ evas_object_vg_add(Evas *e)
128 return NULL; 128 return NULL;
129 MAGIC_CHECK_END(); 129 MAGIC_CHECK_END();
130 // TODO: Ask backend to return the main Ector_Surface 130 // TODO: Ask backend to return the main Ector_Surface
131 return efl_add(MY_CLASS, e, efl_canvas_object_legacy_ctor(efl_added)); 131 return efl_add(MY_CLASS, evas_find(e), efl_canvas_object_legacy_ctor(efl_added));
132} 132}
133 133
134EOLIAN static Efl_VG * 134EOLIAN static Efl_VG *
diff --git a/src/lib/evas/canvas/evas_image_legacy.c b/src/lib/evas/canvas/evas_image_legacy.c
index e38c1a2d77..344408e38a 100644
--- a/src/lib/evas/canvas/evas_image_legacy.c
+++ b/src/lib/evas/canvas/evas_image_legacy.c
@@ -26,7 +26,7 @@ EAPI Evas_Object *
26evas_object_image_add(Evas *eo_e) 26evas_object_image_add(Evas *eo_e)
27{ 27{
28 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL); 28 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL);
29 return efl_add(EVAS_IMAGE_CLASS, eo_e, 29 return efl_add(EVAS_IMAGE_CLASS, evas_find(eo_e),
30 efl_gfx_fill_auto_set(efl_added, EINA_FALSE), 30 efl_gfx_fill_auto_set(efl_added, EINA_FALSE),
31 efl_canvas_object_legacy_ctor(efl_added)); 31 efl_canvas_object_legacy_ctor(efl_added));
32} 32}
@@ -35,7 +35,7 @@ EAPI Evas_Object *
35evas_object_image_filled_add(Evas *eo_e) 35evas_object_image_filled_add(Evas *eo_e)
36{ 36{
37 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL); 37 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL);
38 return efl_add(EVAS_IMAGE_CLASS, eo_e, 38 return efl_add(EVAS_IMAGE_CLASS, evas_find(eo_e),
39 efl_canvas_object_legacy_ctor(efl_added)); 39 efl_canvas_object_legacy_ctor(efl_added));
40} 40}
41 41
diff --git a/src/lib/evas/canvas/evas_object_box.c b/src/lib/evas/canvas/evas_object_box.c
index e5b9b5aef6..3adbf22f6e 100644
--- a/src/lib/evas/canvas/evas_object_box.c
+++ b/src/lib/evas/canvas/evas_object_box.c
@@ -478,7 +478,7 @@ evas_object_box_add(Evas *evas)
478 MAGIC_CHECK(evas, Evas, MAGIC_EVAS); 478 MAGIC_CHECK(evas, Evas, MAGIC_EVAS);
479 return NULL; 479 return NULL;
480 MAGIC_CHECK_END(); 480 MAGIC_CHECK_END();
481 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); 481 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
482} 482}
483 483
484EOLIAN static Eo * 484EOLIAN static Eo *
diff --git a/src/lib/evas/canvas/evas_object_grid.c b/src/lib/evas/canvas/evas_object_grid.c
index a8fdba858c..b954bf2dce 100644
--- a/src/lib/evas/canvas/evas_object_grid.c
+++ b/src/lib/evas/canvas/evas_object_grid.c
@@ -276,7 +276,7 @@ evas_object_grid_add(Evas *evas)
276 MAGIC_CHECK(evas, Evas, MAGIC_EVAS); 276 MAGIC_CHECK(evas, Evas, MAGIC_EVAS);
277 return NULL; 277 return NULL;
278 MAGIC_CHECK_END(); 278 MAGIC_CHECK_END();
279 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); 279 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
280} 280}
281 281
282EOLIAN static Eo * 282EOLIAN static Eo *
diff --git a/src/lib/evas/canvas/evas_object_line.c b/src/lib/evas/canvas/evas_object_line.c
index 02aeea8d5d..e26ea6677b 100644
--- a/src/lib/evas/canvas/evas_object_line.c
+++ b/src/lib/evas/canvas/evas_object_line.c
@@ -97,7 +97,7 @@ evas_object_line_add(Evas *e)
97 MAGIC_CHECK(e, Evas, MAGIC_EVAS); 97 MAGIC_CHECK(e, Evas, MAGIC_EVAS);
98 return NULL; 98 return NULL;
99 MAGIC_CHECK_END(); 99 MAGIC_CHECK_END();
100 return efl_add(EVAS_LINE_CLASS, e, efl_canvas_object_legacy_ctor(efl_added)); 100 return efl_add(EVAS_LINE_CLASS, evas_find(e), efl_canvas_object_legacy_ctor(efl_added));
101} 101}
102 102
103EOLIAN static void 103EOLIAN static void
diff --git a/src/lib/evas/canvas/evas_object_polygon.c b/src/lib/evas/canvas/evas_object_polygon.c
index c0f11a6885..90c05dda42 100644
--- a/src/lib/evas/canvas/evas_object_polygon.c
+++ b/src/lib/evas/canvas/evas_object_polygon.c
@@ -87,7 +87,7 @@ evas_object_polygon_add(Evas *e)
87 MAGIC_CHECK(e, Evas, MAGIC_EVAS); 87 MAGIC_CHECK(e, Evas, MAGIC_EVAS);
88 return NULL; 88 return NULL;
89 MAGIC_CHECK_END(); 89 MAGIC_CHECK_END();
90 return efl_add(MY_CLASS, e, efl_canvas_object_legacy_ctor(efl_added)); 90 return efl_add(MY_CLASS, evas_find(e), efl_canvas_object_legacy_ctor(efl_added));
91} 91}
92 92
93EOLIAN static Eo * 93EOLIAN static Eo *
diff --git a/src/lib/evas/canvas/evas_object_rectangle.c b/src/lib/evas/canvas/evas_object_rectangle.c
index d9e0d28b64..c5d8253aee 100644
--- a/src/lib/evas/canvas/evas_object_rectangle.c
+++ b/src/lib/evas/canvas/evas_object_rectangle.c
@@ -95,7 +95,7 @@ evas_object_rectangle_add(Evas *e)
95 MAGIC_CHECK(e, Evas, MAGIC_EVAS); 95 MAGIC_CHECK(e, Evas, MAGIC_EVAS);
96 return NULL; 96 return NULL;
97 MAGIC_CHECK_END(); 97 MAGIC_CHECK_END();
98 return efl_add(EFL_CANVAS_RECTANGLE_CLASS, e, efl_canvas_object_legacy_ctor(efl_added)); 98 return efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas_find(e), efl_canvas_object_legacy_ctor(efl_added));
99} 99}
100 100
101EOLIAN static Eo * 101EOLIAN static Eo *
diff --git a/src/lib/evas/canvas/evas_object_smart.c b/src/lib/evas/canvas/evas_object_smart.c
index b5265331b4..8b1a5669f2 100644
--- a/src/lib/evas/canvas/evas_object_smart.c
+++ b/src/lib/evas/canvas/evas_object_smart.c
@@ -676,7 +676,7 @@ evas_object_smart_add(Evas *eo_e, Evas_Smart *s)
676 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS); 676 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS);
677 return NULL; 677 return NULL;
678 MAGIC_CHECK_END(); 678 MAGIC_CHECK_END();
679 eo_obj = efl_add(EFL_CANVAS_GROUP_CLASS, eo_e, efl_canvas_object_legacy_ctor(efl_added)); 679 eo_obj = efl_add(EFL_CANVAS_GROUP_CLASS, evas_find(eo_e), efl_canvas_object_legacy_ctor(efl_added));
680 evas_object_smart_attach(eo_obj, s); 680 evas_object_smart_attach(eo_obj, s);
681 return eo_obj; 681 return eo_obj;
682} 682}
diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c
index 74ee07b45e..fde93eca58 100644
--- a/src/lib/evas/canvas/evas_object_table.c
+++ b/src/lib/evas/canvas/evas_object_table.c
@@ -982,7 +982,7 @@ evas_object_table_add(Evas *evas)
982 MAGIC_CHECK(evas, Evas, MAGIC_EVAS); 982 MAGIC_CHECK(evas, Evas, MAGIC_EVAS);
983 return NULL; 983 return NULL;
984 MAGIC_CHECK_END(); 984 MAGIC_CHECK_END();
985 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); 985 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
986} 986}
987 987
988EOLIAN static Eo * 988EOLIAN static Eo *
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c
index b487a64cf9..82be722deb 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -379,7 +379,7 @@ evas_object_text_add(Evas *e)
379 MAGIC_CHECK(e, Evas, MAGIC_EVAS); 379 MAGIC_CHECK(e, Evas, MAGIC_EVAS);
380 return NULL; 380 return NULL;
381 MAGIC_CHECK_END(); 381 MAGIC_CHECK_END();
382 return efl_add(EVAS_TEXT_CLASS, e, efl_canvas_object_legacy_ctor(efl_added)); 382 return efl_add(EVAS_TEXT_CLASS, evas_find(e), efl_canvas_object_legacy_ctor(efl_added));
383} 383}
384 384
385EOLIAN static Eo * 385EOLIAN static Eo *
diff --git a/src/lib/evas/canvas/evas_object_textgrid.c b/src/lib/evas/canvas/evas_object_textgrid.c
index 0eea223132..d817d94e46 100644
--- a/src/lib/evas/canvas/evas_object_textgrid.c
+++ b/src/lib/evas/canvas/evas_object_textgrid.c
@@ -902,7 +902,7 @@ evas_object_textgrid_add(Evas *e)
902 MAGIC_CHECK(e, Evas, MAGIC_EVAS); 902 MAGIC_CHECK(e, Evas, MAGIC_EVAS);
903 return NULL; 903 return NULL;
904 MAGIC_CHECK_END(); 904 MAGIC_CHECK_END();
905 return efl_add(EVAS_TEXTGRID_CLASS, e, efl_canvas_object_legacy_ctor(efl_added)); 905 return efl_add(EVAS_TEXTGRID_CLASS, evas_find(e), efl_canvas_object_legacy_ctor(efl_added));
906} 906}
907 907
908EOLIAN static Eo * 908EOLIAN static Eo *