summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/edje/edje_part_external.c14
-rw-r--r--src/lib/edje/efl_canvas_layout_part_external.eo3
2 files changed, 16 insertions, 1 deletions
diff --git a/src/lib/edje/edje_part_external.c b/src/lib/edje/edje_part_external.c
index bbc82791b7..492106c1fa 100644
--- a/src/lib/edje/edje_part_external.c
+++ b/src/lib/edje/edje_part_external.c
@@ -22,4 +22,18 @@ _efl_canvas_layout_part_external_efl_content_content_get(const Eo *obj, void *_p
22 return _edje_object_part_external_object_get(pd->ed, pd->part); 22 return _edje_object_part_external_object_get(pd->ed, pd->part);
23} 23}
24 24
25EOLIAN static Eina_Bool
26_efl_canvas_layout_part_external_efl_content_content_set(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, Efl_Gfx_Entity *content EINA_UNUSED)
27{
28 ERR("Setting of content is not permitted on this part");
29 return EINA_FALSE;
30}
31
32EOLIAN static Efl_Gfx_Entity*
33_efl_canvas_layout_part_external_efl_content_content_unset(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED)
34{
35 ERR("Unsetting of content is not permitted on this part");
36 return NULL;
37}
38
25#include "efl_canvas_layout_part_external.eo.c" 39#include "efl_canvas_layout_part_external.eo.c"
diff --git a/src/lib/edje/efl_canvas_layout_part_external.eo b/src/lib/edje/efl_canvas_layout_part_external.eo
index eb5ca38815..7750480147 100644
--- a/src/lib/edje/efl_canvas_layout_part_external.eo
+++ b/src/lib/edje/efl_canvas_layout_part_external.eo
@@ -25,6 +25,7 @@ class @beta Efl.Canvas.Layout_Part_External extends Efl.Canvas.Layout_Part imple
25 ]] 25 ]]
26 data: null; 26 data: null;
27 implements { 27 implements {
28 Efl.Content.content { get; } 28 Efl.Content.content { get; set; }
29 Efl.Content.content_unset;
29 } 30 }
30} 31}