Re: [evolution-patches] patch for the bug #64398 [calendar]



On Wed, 2004-09-01 at 12:06 +0530, chenthill wrote:
> Hi,
>    By returing FALSE the time_out_add function is removed and will not
> be called again and this is a run time error happening only in some
> cases, this does not happen normally.

A g_return_if_fail though is a runtime sanity check meant to check for
things that should never happen.  Its much more appropriate just to do
an if ().

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]