Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/conf Modified Files: e_conf.c Log Message: Fix random segfault when loading/unloading modules & Config Panel not up. =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/conf/e_conf.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- e_conf.c 24 Nov 2007 12:42:54 -0000 1.7 +++ e_conf.c 4 Dec 2007 10:22:18 -0000 1.8 @@ -510,8 +510,8 @@ E_Configure *eco; int sel = 0; - eco = data; - if (!eco) return 1; + if (!(eco = data)) return 1; + if (!eco->cat_list) return 1; sel = e_widget_ilist_selected_get(eco->cat_list); _e_configure_fill_cat_list(eco); e_widget_ilist_selected_set(eco->cat_list, sel); ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs