Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_widget.c 


Log Message:
- print a warning if there is something wrong with the edje file set

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -3 -r1.99 -r1.100
--- ewl_widget.c        8 Sep 2006 07:12:43 -0000       1.99
+++ ewl_widget.c        15 Sep 2006 17:53:34 -0000      1.100
@@ -2260,8 +2260,11 @@
                 * Attempt to load the theme object
                 */
                evas_object_repeat_events_set(w->theme_object, 1);
-               edje_object_file_set(w->theme_object, w->bit_path,
-                                                       w->bit_group);
+               if (!edje_object_file_set(w->theme_object, w->bit_path,
+                                                               w->bit_group))
+                       DWARNING("Error setting edje object %s, %s\n",
+                                                       w->bit_path, 
w->bit_group);
+
                /*
                 * If the file failed to load, destroy the unnecessary evas
                 * object.



-------------------------------------------------------------------------
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