summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-27 14:57:03 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-27 14:57:03 -0500
commit120e247fa0acb912a3974c5af2c59271ebf1ce40 (patch)
tree5f0628f7da44c4aaa87047baddc0af9770a1b20a
parente4e5b5a349b9624e1b8ec95d9dbc297743a14f9d (diff)
efl_canvas_layout_part_external: implement missing functions
Summary: this just prints a error, manipulating the content here is not permitted. As it is created by edje externals, which are owned by edje. ref T5719 Depends on D7757 Reviewers: cedric, zmike, segfaultxavi Reviewed By: zmike Subscribers: q66, #reviewers, #committers Tags: #efl Maniphest Tasks: T5719 Differential Revision: https://phab.enlightenment.org/D7759
-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}