Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_background.c Log Message: Another try at a fix for bg close. Try to get the border of the import dialog to see if it exists or not, before trying to delete it. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_background.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -3 -r1.31 -r1.32 --- e_int_config_background.c 22 Jan 2006 15:51:51 -0000 1.31 +++ e_int_config_background.c 22 Jan 2006 22:45:44 -0000 1.32 @@ -453,11 +453,18 @@ static int _bg_dialog_close(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) { + E_Dialog *dia; + E_Border *bd; + if (!cfd) return 0; if (!cfdata) return 0; if (!cfdata->import) return 1; if (!cfdata->import->dia) return 1; + dia = cfdata->import->dia; + bd = e_border_find_by_window(dia->win->evas_win); + if (!bd) return 1; + e_object_del(E_OBJECT(cfdata->import->dia)); return 1; } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs