summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/edje_edit.c')
-rw-r--r--src/lib/edje/edje_edit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 2527598..e2bbc84 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -13,6 +13,8 @@
13 13
14#include "edje_private.h" 14#include "edje_private.h"
15 15
16#include "canvas/evas_canvas.eo.h"
17
16#define EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT 18#define EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT
17#include "Edje_Edit.h" 19#include "Edje_Edit.h"
18 20
@@ -289,6 +291,7 @@ _edje_edit_efl_file_mmap_set(Eo *obj, Edje_Edit *eed, const Eina_File *mmap, con
289EAPI Evas_Object * 291EAPI Evas_Object *
290edje_edit_object_add(Evas *evas) 292edje_edit_object_add(Evas *evas)
291{ 293{
294 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(evas, EVAS_CANVAS_CLASS), NULL);
292 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added)); 295 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
293} 296}
294 297