Change-Id: Ic8eeb0f18d69b80559e84026b9c9a31b494ce2b7
Signed-off-by: jinwang.an <jinwang.an@samsung.com>
}
elm_genlist_item_class_free(text_icon);
elm_genlist_item_class_free(text2_icon);
- elm_genlist_item_class_free(itc_1text);
elm_genlist_item_class_free(itc);
Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
static void get_sound_file_list(char *dir, int type)
{
DIR *dp;
- struct dirent entry;
struct dirent *result = NULL;
char *cur_ring_path = NULL;
notification_count = 0;
}
- while (!readdir_r(dp, &entry, &result) && result &&
+ while (((result = readdir(dp)) != NULL) &&
ringtone_count < RINGTONE_MAX_COUNT &&
notification_count < RINGTONE_MAX_COUNT
) {