Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_theme.c 


Log Message:
- make sure we bail out if we don't find the theme path

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_theme.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ewl_theme.c 30 Sep 2006 22:31:36 -0000      1.24
+++ ewl_theme.c 26 Oct 2006 05:15:54 -0000      1.25
@@ -31,7 +31,7 @@
        if (!ewl_theme_theme_set(ewl_config_string_get(ewl_config, 
                                                EWL_CONFIG_THEME_NAME)))
        {
-               fprintf(stderr, "No usable theme found, exiting.\n");
+               DWARNING("No usable theme found, exiting.");
                DRETURN_INT(FALSE, DLEVEL_STABLE);
        }
 
@@ -95,6 +95,8 @@
 
        /* get the new theme path and setup the font path */
        ewl_theme_path = ewl_theme_path_find(theme_name);
+       if (!ewl_theme_path) DRETURN_INT(FALSE, DLEVEL_STABLE); 
+
        ewl_theme_font_path_init();
 
        DRETURN_INT(TRUE, DLEVEL_STABLE);



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to