Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_window.c 


Log Message:
- check return value and act accordingly

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_window.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_window.c        28 Oct 2005 02:11:29 -0000      1.20
+++ ewl_window.c        2 Nov 2005 17:43:14 -0000       1.21
@@ -44,7 +44,9 @@
        /*
         * Initialize the fields of the inherited container class
         */
-       ewl_embed_init(EWL_EMBED(w));
+       if (!ewl_embed_init(EWL_EMBED(w)))
+               DRETURN_INT(FALSE, DLEVEL_STABLE);
+
        ewl_widget_appearance_set(EWL_WIDGET(w), "window");
        ewl_widget_inherit(EWL_WIDGET(w), "window");
        ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_FILL);




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to