Vincent Torri wrote:
> 
> On Tue, 13 Mar 2007, Christopher Michael wrote:
> 
>> 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.
> 
>> 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..
> 
> It's not really a problem. Maybe just not the correct location for that 
> fix. For me you use the ecore_x_dpms_query as all the _init function you 
> can find in the efl.
> 
> Also, it's the only location where such tests are done (see 
> ecore_x_(damage, fixes, etc...).
> 
> So for me, the fix should be done in e17, not in ecore_x_dpms
> 
> Vincent
Perhaps...my thoughts were for use outside of E where someone may not 
make those checks...at least this way ecore (and potentially outside 
app) doesn't die a horrid death :)

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