[evolution-patches] Patch for #55293
- From: Sushma Rai <rsushma novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] Patch for #55293
- Date: Mon, 08 Mar 2004 18:36:04 +0530
Hi,
The evolution was crashing if I press the clear button
when no filters were specified for displaying the mail.
I have attached the patch and the Changelog.
Regards,
Sushma.
Index: camel/camel-object.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/camel-object.c,v
retrieving revision 1.45
diff -u -r1.45 camel-object.c
--- camel/camel-object.c 4 Feb 2004 05:57:19 -0000 1.45
+++ camel/camel-object.c 8 Mar 2004 10:13:16 -0000
@@ -1310,11 +1310,12 @@
{
CamelObject *o = vo;
CamelArgGetV args;
- CamelObjectClass *klass = o->klass;
+ CamelObjectClass *klass;
int ret = 0;
g_return_val_if_fail(CAMEL_IS_OBJECT(o), -1);
+ klass = o->klass;
camel_argv_start(&args, ex);
while (camel_arggetv_build(&args) && ret == 0)
Index: camel/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/ChangeLog,v
retrieving revision 1.2029
diff -u -r1.2029 ChangeLog
--- camel/ChangeLog 4 Mar 2004 02:00:26 -0000 1.2029
+++ camel/ChangeLog 8 Mar 2004 11:07:48 -0000
@@ -1,3 +1,12 @@
+2004-03-08 Sushma Rai <rsushma novell com>
+
+ ** See bug #55293
+
+ * camel-object.c (camel_object_get): Initializing
+ CamelObjectClass after the CAMEL_IS_OBJECT check
+ (only if CamelObject is not NULL)
+
+
2004-03-04 Not Zed <NotZed Ximian com>
** See bug #53355.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]