jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cf927cdb3414f6b2d3d056cccb98d2313dba228c

commit cf927cdb3414f6b2d3d056cccb98d2313dba228c
Author: smohanty <smohan...@gmail.com>
Date:   Thu Jun 29 17:27:37 2017 +0900

    efl/interface: emit path change event when stroke width change.
    
    Reviewers: jpeg
    
    Subscribers: cedric, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D4991
---
 src/lib/efl/interfaces/efl_gfx_shape.c | 5 +++--
 1 file 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

-- 


Reply via email to