Re: [evolution-patches] fix for bug #65167 [calendar]
- From: Rodrigo Moya <rodrigo novell com>
- To: chenthill <pchenthill novell com>
- Cc: evolution-patches <evolution-patches ximian com>
- Subject: Re: [evolution-patches] fix for bug #65167 [calendar]
- Date: Wed, 08 Sep 2004 11:25:31 +0200
On Sun, 2004-09-05 at 20:57 +0530, chenthill wrote:
> Hi,
> Have removed the unnecessary assert statements and used a boolean
> variable in e-cal-backend-groupwise.c to ensure that the cache is
> loaded properly.
>
> @@ -132,8 +132,6 @@ set_properties_from_cal_component (EGwIt
>
> default_zone = e_cal_backend_groupwise_get_default_zone
> (cbgw);
>
> - g_assert (default_zone != NULL);
> -
> /* first set specific properties */
> switch (e_cal_component_get_vtype (comp)) {
> case E_CAL_COMPONENT_EVENT :
> @@ -395,7 +393,6 @@ e_gw_item_to_cal_component (EGwItem *ite
> categories_by_id =
> e_cal_backend_groupwise_get_categories_by_id (cbgw);
>
> g_return_val_if_fail (E_IS_GW_ITEM (item), NULL);
> - g_assert (default_zone != NULL || categories_by_id != NULL);
>
> comp = e_cal_component_new ();
>
you haven't replaced the g_assert's with if statements.
--
Rodrigo Moya <rodrigo novell com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]