diff options
-rwxr-xr-x | src/view.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -160,7 +160,7 @@ static void _alarm_main_enable_alarm_down_cb(void *data, Evas * e, Evas_Object * gendata->check_state = 1; if (update_alarm_state(gendata->alarm_id, 1) == 0) { ALM_INFO("generating and updating db on alarm on "); - update_alarm(gendata->alarm_id, &gendata->saved_time, gendata->weekly, NO_CANCEL); + gendata->alarm_id = update_alarm(gendata->alarm_id, &gendata->saved_time, gendata->weekly, NO_CANCEL); } evas_object_color_set(obj, 77, 207, 255, 255); } @@ -260,7 +260,6 @@ Evas_Object* _gl_alarm_set_icon_get(void *data, Evas_Object *obj, const char *pa evas_object_event_callback_add(ly, EVAS_CALLBACK_MOUSE_DOWN, _alarm_main_enable_alarm_down_cb, data); - evas_object_propagate_events_set(ly, EINA_FALSE); Evas_Object *ao = elm_access_object_register(ic, ly); |