From: bdilly Date: Mon, 31 Oct 2011 19:00:09 +0000 (+0000) Subject: Elementary Index Test: avoid leak X-Git-Tag: REL_F_I9500_20120323_1~17^2~1433 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68ca93fdc3b7c7cfce9db459712d4f7ba6f0d8c1;p=framework%2Fuifw%2Felementary.git Elementary Index Test: avoid leak Avoid leak caused by not updated signal name. Btw, Mr. Valgrind is sad with elm developers. Lots of warnings regarding uninitialised values. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64582 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/test_index.c b/src/bin/test_index.c index 07eb6bd..27804d5 100644 --- a/src/bin/test_index.c +++ b/src/bin/test_index.c @@ -202,7 +202,7 @@ test_index2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "sorted-index-list", ELM_WIN_BASIC); elm_win_title_set(win, "Sorted Index and List"); - evas_object_smart_callback_add(win, "delete-request", test_index2_del, gui); + evas_object_smart_callback_add(win, "delete,request", test_index2_del, gui); elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win);