Re: [evolution-patches] Fix for new_system_calendar crash
- From: JP Rosevear <jpr ximian com>
- To: Harish <kharish novell com>
- Cc: evo-patch <evolution-patches lists ximian com>
- Subject: Re: [evolution-patches] Fix for new_system_calendar crash
- Date: Tue, 17 Feb 2004 18:16:24 -0500
On Tue, 2004-02-17 at 03:52, Harish Krishnaswamy wrote:
> hi,
>
> This is a minor fix for new_system_calendar call crashing e-d-s due to
> the parameters in the g_build_filename call not being terminated by
> NULL...
> AFAIK, this has not been filed in bugzilla before and i guess, there is
> no need for it now :)
Looks good, also:
> @@ -1382,7 +1382,7 @@ e_cal_new_system_tasks (void)
> ECal *ecal;
> char *uri;
>
> - uri = g_build_filename ("file://", g_get_home_dir (), ".evolution",
> "tasks", "local", "system");
> + uri = g_build_filename ("file://", g_get_home_dir (), ".evolution",
> "tasks", "local", "system", NULL);
> ecal = e_cal_new_from_uri (uri, E_CAL_SOURCE_TYPE_EVENT);
should be E_CAL_SOURCE_TYPE_TODO now that i see it.
-JP
--
JP Rosevear <jpr ximian com>
Ximian, Inc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]