On Tue, 13 Mar 2007 07:08:47 +0100 (CET) Vincent Torri <[EMAIL PROTECTED]>
babbled:

> 
> I don't think that all the tests on _dpms_available are necessary. Your
> program has to test it once, then do the necessary to not use the dpms
> functions.

agreed - this is fairly useless. if its a conditinal compile - make it #ifdef,
if its runtime detection of dpms extensions - this is the fn that detects - so
let it do its job :)

> Vincent
> 
> 
> On Tue, 13 Mar 2007, Enlightenment CVS wrote:
> 
> > Log Message:
> > Fix up ecore_x_dpms...formatting, removed the static int's for dpms version
> > as they are not used anywhere other than the init function. Added traps for
> > dpms_available before calling any dpms functions.
> >
> > @@ -55,10 +49,10 @@
> > EAPI int
> > ecore_x_dpms_capable_get(void)
> > {
> > +   if (!_dpms_available) return 0;
> >    return DPMSCapable(_ecore_x_disp);
> > }
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to