Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ecompmgr.c 


Log Message:
Fix composite manager enable/disable.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ecompmgr.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- ecompmgr.c  16 Jul 2005 16:57:40 -0000      1.44
+++ ecompmgr.c  23 Jul 2005 15:18:25 -0000      1.45
@@ -348,11 +348,9 @@
 
    if (!cw)
      {
-#if 0                          /* FIXME - Remove? */
        ECompMgrWinNew(&d->o);
        cw = d->o.cmhook;
        if (!cw)
-#endif
           return None;
      }
 
@@ -369,7 +367,6 @@
      {
        if (cw->picture != None)
           return cw->picture;
-       Eprintf("*** This is not possible :/\n");
      }
    D1printf
       ("DeskBackgroundPictureGet: Desk %d: using pixmap %#lx (%#lx %#lx)\n",
@@ -410,6 +407,9 @@
    ECmWinInfo         *cw = d->o.cmhook;
    Picture             pict;
 
+   if (!cw)
+      return;
+
    pict = cw->picture;
    if (pict == None)
       return;




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to