Re: [evolution-patches] Fix for the bug #64398 [calendar]
- From: JP Rosevear <jpr novell com>
- To: Rodrigo Moya <rodrigo novell com>
- Cc: Chen <pchenthill novell com>, evolution-patches <evolution-patches ximian com>
- Subject: Re: [evolution-patches] Fix for the bug #64398 [calendar]
- Date: Fri, 03 Sep 2004 14:22:45 -0400
On Fri, 2004-09-03 at 16:09 +0200, Rodrigo Moya wrote:
> On Fri, 2004-09-03 at 19:37 +0530, chenthill wrote:
> > Hi,
> > Have attached a fix for the getdelta crash in calendar. Missed to
> > attach the patch in previous mail.
> >
>
> > @@ -1506,6 +1513,7 @@ e_cal_backend_groupwise_init (ECalBacken
> >
> > priv->categories_by_id = g_hash_table_new_full (g_str_hash,
> > g_str_equal, g_free, g_free);
> > priv->categories_by_name = g_hash_table_new_full (g_str_hash,
> > g_str_equal, g_free, g_free);
> > + priv->timeout_id = 0;
> >
> here, you probably want to set priv->timeout_id to -1, since 0 is a
> valid timeout_id IIRC
I don't think so, g_timeout_add returns guint and uses 0 in the error
case (ie g_return_val_if_fail).
-JP
--
JP Rosevear <jpr novell com>
Novell, Inc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]