Change-Id: I3a993f8d686c91627f5040e803dd0b81dc11d0d6
SETTING_TRACE_BEGIN;
bool isFound = FALSE; /* wether can found some item checked */
int idx = 0;
- int state = 0;
for (; idx < list_data->cur_item_num; idx++) {
- state =
- elm_check_state_get(list_data->chk_items[idx].
- data_GenItem->eo_check);
- if (state) {
+ if (list_data->chk_items[idx].data_GenItem->chk_status) {
isFound = TRUE;
break;
}
if (node) {
item_data = (Setting_GenGroupItem_Data *)node->data;
- state = elm_check_state_get(item_data->eo_check);
-
- if (state) {
+ if (item_data->chk_status) {
isFound = TRUE;
break;
}