and use new signal name

SVN revision: 43070
This commit is contained in:
Carsten Haitzler 2009-10-14 08:46:38 +00:00
parent c3ccf673e8
commit 827138ec22
2 changed files with 3 additions and 3 deletions

View File

@ -82,12 +82,12 @@ my_win_main(void)
/* set the title of the window - this is in the titlebar */
elm_win_title_set(win, "Elementary Tests");
/* set a callback on the window when "delete-request" is emitted as
/* set a callback on the window when "delete,request" is emitted as
* a callback. when this happens my_win_del() is called and the
* data pointer (first param) is passed the final param here (in this
* case it is NULL). This is how you can pass specific things to a
* callback like objects or data layered on top */
evas_object_smart_callback_add(win, "delete-request", my_win_del, NULL);
evas_object_smart_callback_add(win, "delete,request", my_win_del, NULL);
/* add a background to our window. this just uses the standard theme set
* background. without a backgorund, you could make a window seem

View File

@ -74,7 +74,7 @@ test_progressbar(void *data, Evas_Object *obj, void *event_info)
win = elm_win_add(NULL, "progressbar", ELM_WIN_BASIC);
elm_win_title_set(win, "Progressbar");
evas_object_smart_callback_add(win, "delete-request",
evas_object_smart_callback_add(win, "delete,request",
my_progressbar_destroy, test);
bg = elm_bg_add(win);