Enlightenment CVS committal
Author : devilhorns
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/conf_theme
Modified Files:
e_int_config_theme.c
Log Message:
Add trap for the odd case where e_theme_config_get may return null.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/conf_theme/e_int_config_theme.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_int_config_theme.c 24 Jul 2007 18:47:26 -0000 1.2
+++ e_int_config_theme.c 29 Jul 2007 04:49:02 -0000 1.3
@@ -475,6 +475,7 @@
/* Actually take our cfdata settings and apply them in real life */
ct = e_theme_config_get("theme");
+ if (!ct) return 0;
if (!strcmp(ct->file, cfdata->theme)) return 1;
e_theme_config_set("theme", cfdata->theme);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs