cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=9fa7474f5080e452f5cc3e05456eb17b382ec12c

commit 9fa7474f5080e452f5cc3e05456eb17b382ec12c
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Tue Jul 28 23:20:19 2015 +0200

    Colorselector: fix wrong object for callback call function
    
    Summary:
    When spinner change it's value it should call callbacks for
    colorselector but not for spinner.
    
    @fix
    
    Reviewers: raster, reutskiy.v.v, cedric
    
    Reviewed By: reutskiy.v.v, cedric
    
    Subscribers: NikaWhite
    
    Differential Revision: https://phab.enlightenment.org/D2780
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/elm_colorselector.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c
index 1a592b1..0315aec 100644
--- a/src/lib/elm_colorselector.c
+++ b/src/lib/elm_colorselector.c
@@ -493,7 +493,7 @@ _spinner_changed_cb(void *data,
          break;
      }
    evas_object_data_del(obj, "_changed");
-   eo_do(obj, eo_event_callback_call(ELM_COLORSELECTOR_EVENT_CHANGED_USER, 
NULL));
+   eo_do(parent, eo_event_callback_call(ELM_COLORSELECTOR_EVENT_CHANGED_USER, 
NULL));
 
    return EINA_TRUE;
 }

-- 


Reply via email to