Re: [evolution-patches] Fix for the bug #274409 [calendar]
- From: Rodrigo Moya <rodrigo novell com>
- To: chenthill <pchenthill novell com>
- Cc: patches <evolution-patches lists ximian com>
- Subject: Re: [evolution-patches] Fix for the bug #274409 [calendar]
- Date: Wed, 13 Apr 2005 23:42:22 +0200
On Wed, 2005-04-13 at 14:45 +0530, chenthill wrote:
> Resending the patch. Running the get_deltas in seperate thread instead
> of the main loop would be the right fix. Have attached the patch.
>
also, another thing:
> +static gboolean
> +get_deltas_timeout (gpointer cbgw)
> +{
> + GThread *thread;
> + GError *error = NULL;
> +
> + if (!cbgw)
> + return FALSE;
> +
> + thread = g_thread_create ((GThreadFunc) get_deltas, cbgw,
> FALSE, &error);
> + if (!thread) {
> + g_warning (G_STRLOC ": %s", error->message);
> + g_error_free (error);
> +
> + return GNOME_Evolution_Calendar_OtherError;
>
the function is a gboolean, so you should return just TRUE or FALSE.
--
Rodrigo Moya <rodrigo novell com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]