Re: [evolution-patches] patch for the bug #64398 [calendar]
- From: chenthill <pchenthill novell com>
- To: Rodrigo Moya <rodrigo novell com>
- Cc: Not Zed <notzed ximian com>, evolution-patches ximian com
- Subject: Re: [evolution-patches] patch for the bug #64398 [calendar]
- Date: Wed, 01 Sep 2004 12:06:34 +0530
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.
thanks, chenthill.
On Tue, 2004-08-31 at 17:40 +0200, Rodrigo Moya wrote:
> On Tue, 2004-08-31 at 23:01 +0800, Not Zed wrote:
> >
> > umm, you should not rely on an assertion to save you from a case which
> > could happen in normal code running.
> >
> > if it isn't a code error, but a possible run-time case, it should just
> > be a normal if() statement. If it is a code error, the source of the
> > error should be fixed ideally.
> >
> > i.e. the code shouldn't crash if the assertions aren't present and
> > there are no bugs present.
> >
> you are right, in fact, get_deltas is called via a g_timeout_add, so I
> guess we should be removing that timeout callback when the backend dies,
> so that it never gets called when the backend is NULL.
>
> Sorry for not catching it before
>
>
> Rodrigo Moya <rodrigo novell com>
>
> _______________________________________________
> evolution-patches mailing list
> evolution-patches lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-patches
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]