Vincent Torri wrote:
> 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.
> 
> 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.
>>
And if the calling program does not make those tests??? Segfault !!.. 
These are just simple int checks which are very fast todo and not 
expensive at all, plus give added safety to insure that dpms can be used 
before trying to make calls to it.

I don't see the problem here..

dh

-------------------------------------------------------------------------
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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to