Re: [evolution-patches] [calendar-http] fix for bug #308037



On Mon, 2005-08-22 at 07:11 -0600, Chakravarthi P wrote:
> +       /* Remove those components from the backend cache that are not
> there in the current cache build */
> +       if (!g_hash_table_lookup (build_cache, uid))    
> +               e_cal_backend_cache_remove_component
> (cbhttp->priv->cache, uid, rid);
> +
>         e_cal_backend_notify_object_removed (E_CAL_BACKEND (cbhttp),
> uid, calobj, NULL);
This would remove a wrong recurrence instance. Instead creating a new
hash table, its better to get the keys from the cache and use them to
find the deleted items.

thanks, Chenthill.


>  
>       



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