summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2017-11-13 10:50:44 +0200
committerVyacheslav Reutskiy <v.reutskiy@samsung.com>2017-11-13 10:57:19 +0200
commitd498065cb418ccce53f1cb9f3e62f2cfb671e912 (patch)
tree53798ef0f7405ef9101115abbaaa87c21f2bdbe1 /src/lib/edje/edje_calc.c
parent7764abe8f60e88749c2f2f09383dfdccfb8ce4d2 (diff)
edje: add event for inform about circular dependency
This commit add the event "circular,dependency" for edje object. Given event is called when edje found the circular dependency between parts in object. This event will be usefull and informative paired with Edje_Edit API.
Diffstat (limited to 'src/lib/edje/edje_calc.c')
-rw-r--r--src/lib/edje/edje_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 1442cb8f14..f69cdedc7f 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -93,7 +93,6 @@ static void _edje_part_recalc_single(Edje *ed, Edje_Rea
93 pd_##type->type.orientation.data[2], \ 93 pd_##type->type.orientation.data[2], \
94 pd_##type->type.orientation.data[3]); 94 pd_##type->type.orientation.data[3]);
95 95
96
97void 96void
98_edje_calc_params_clear(Edje_Calc_Params *p) 97_edje_calc_params_clear(Edje_Calc_Params *p)
99{ 98{
@@ -3846,6 +3845,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
3846 strncat(depends_path, part_name, 3845 strncat(depends_path, part_name,
3847 sizeof(depends_path) - strlen(depends_path) - 1); 3846 sizeof(depends_path) - strlen(depends_path) - 1);
3848 } 3847 }
3848 efl_event_callback_legacy_call(ed->obj, EDJE_OBJECT_EVENT_CIRCULAR_DEPENDENCY, clist);
3849 ERR("Circular dependency in the group '%s' : %s", 3849 ERR("Circular dependency in the group '%s' : %s",
3850 ed->group, depends_path); 3850 ed->group, depends_path);
3851 eina_list_free(clist); 3851 eina_list_free(clist);