From: Daniel Caujolle-B. <f1...@us...> - 2002-12-10 23:07:04
|
Update of /cvsroot/xine/xine-ui/src/xitk/xine-toolkit In directory sc8-pr-cvs1:/tmp/cvs-serv26562/src/xitk/xine-toolkit Modified Files: window.c Log Message: fix dialog box segfault (exposed due of last memleak fix), at close time. fr.po: typo. Index: window.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/xine-toolkit/window.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- window.c 10 Dec 2002 22:21:50 -0000 1.28 +++ window.c 10 Dec 2002 23:07:01 -0000 1.29 @@ -633,7 +633,6 @@ xitk_dialog_t *wd = (xitk_dialog_t *)data; xitk_window_destroy_window(wd->imlibdata, wd->xwin); - xitk_unregister_event_handler(&wd->key); switch(wd->type) { @@ -667,6 +666,8 @@ break; } + + xitk_unregister_event_handler(&wd->key); if(wd->widget_list) { xitk_destroy_widgets(wd->widget_list); |