evas_object_propagate_events_set(check, EINA_FALSE);
evas_object_repeat_events_set(check, EINA_TRUE);
+ evas_object_smart_callback_add(check, "changed", __gl_on_off_clicked_cb, data);
+
return check;
} else {
return NULL;
NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
ad->on_off = elm_genlist_item_append(genlist, itc_on_off,
- NULL, NULL, ELM_GENLIST_ITEM_NONE, __gl_on_off_clicked_cb, ad);
+ ad, NULL, ELM_GENLIST_ITEM_NONE, __gl_on_off_clicked_cb, ad);
ad->tap_n_pay = elm_genlist_item_append(genlist, itc_list,
ad, NULL, ELM_GENLIST_ITEM_NONE, __gl_tap_n_pay_clicked_cb, ad);