From: <enl...@li...> - 2005-07-23 15:18:47
|
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; |