elm_colorselector: fix color selection with spinners
authorAndrii Kroitor <an.kroitor@samsung.com>
Thu, 8 Oct 2015 10:29:39 +0000 (12:29 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Sat, 24 Oct 2015 02:05:24 +0000 (04:05 +0200)
Reviewers: cedric, Hermet, raster, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D3145

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
legacy/elementary/src/lib/elm_colorselector.c

index f0d230b..b70544b 100644 (file)
@@ -754,7 +754,7 @@ _create_colorpicker(Evas_Object *obj)
         elm_object_style_set(spinner, style);
         evas_object_data_set(spinner, "parent", obj);
         eo_do(spinner, eo_event_callback_add
-              (ELM_COLORSELECTOR_EVENT_CHANGED, _spinner_changed_cb, sd));
+              (ELM_SPINNER_EVENT_CHANGED, _spinner_changed_cb, sd));
         elm_spinner_editable_set(spinner, EINA_TRUE);
         elm_spinner_interval_set(spinner, 0.1);
         elm_spinner_min_max_set(spinner, 0, 255);