Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lc = elm_genlist_items_count(song_list);
- it = elm_genlist_last_item_get(song_list);
- while (it != NULL)
- {
- const char *label = elm_object_item_part_text_get(it, "elm.text");
- printf("Total of %i items in list\n", lc);
- if (label == NULL)
- {
- //elm_object_item_del(it);
- it = elm_genlist_item_prev_get(song_list);
- lc = elm_genlist_items_count(song_list);
- printf("%s should be removed from list\n", label);
- }
- else
- {
- it = elm_genlist_item_prev_get(song_list);
- printf("%s should not be removed from list\n", label);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement