summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmohanty <smohantty@gmail.com>2017-06-29 17:27:37 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-06-29 17:39:09 +0900
commitcf927cdb3414f6b2d3d056cccb98d2313dba228c (patch)
tree7317d1b26ca6860eeea7f06e9b17b18cc9c5bfda
parentdd04248bb8f11076c00bc59d8d138c002bd5ae8a (diff)
downloadefl-cf927cdb3414f6b2d3d056cccb98d2313dba228c.tar.gz
efl/interface: emit path change event when stroke width change.
Reviewers: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4991
-rw-r--r--src/lib/efl/interfaces/efl_gfx_shape.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_shape.c b/src/lib/efl/interfaces/efl_gfx_shape.c
index 203ca4d0dc..922f6b9226 100644
--- a/src/lib/efl/interfaces/efl_gfx_shape.c
+++ b/src/lib/efl/interfaces/efl_gfx_shape.c
@@ -157,10 +157,11 @@ _efl_gfx_shape_stroke_color_get(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd,
}
static void
-_efl_gfx_shape_stroke_width_set(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd,
- double w)
+_efl_gfx_shape_stroke_width_set(Eo *obj, Efl_Gfx_Shape_Data *pd, double w)
{
pd->public.stroke.width = w;
+ efl_event_callback_legacy_call(obj, EFL_GFX_PATH_EVENT_CHANGED, NULL);
+ efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL);
}
static double