Found problems here
In the test code, you missed NULL check for selected_item_get. elm_list_selected_item_get(li); // if (!li) <-------- NEED this ex) static void _prev_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { .... Elm_Object_Item *lit = elm_list_selected_item_get(li); <------------------- YOU MISSED NULL CHECK "LIT" HERE. lit = elm_list_item_prev(lit); if (!lit) return; static void _next_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { .... Elm_Object_Item *lit = elm_list_selected_item_get(li); <------------------- MISSED SAME NULL CHECKING!! lit = elm_list_item_prev(lit); if (!lit) return; -----Original Message----- From: "cnook"<kimci...@gmail.com> To: "EFL"<enlightenment-devel@lists.sourceforge.net>; Cc: Sent: 2012-04-17 (화) 13:35:19 Subject: [E-devel] [Patch][elementary_test] test_list Dear All, Hello. I had added test code for the elementary. but I made a pause it because of some reasons and just started again. Today I have attached a patch for the elm_list which does not have test code for the API elm_list_item_prev(); Please review the attached patch and give any feedbacks. I'll be back with other patches. Thanks! Sincerely, Shinwoo Kim. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel