aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test1.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-18 04:23:30 +0800
committerDan Winship <danw@src.gnome.org>2000-04-18 04:23:30 +0800
commit96b306af3289d236e2b23f8cb91327dc71c937b8 (patch)
tree10e03a5d8ad12db4751cd6c4744a6525c4e793d3 /tests/test1.c
parentc52986db9777f0da353908c57e2c8a3e16204448 (diff)
downloadgsoc2013-evolution-96b306af3289d236e2b23f8cb91327dc71c937b8.tar
gsoc2013-evolution-96b306af3289d236e2b23f8cb91327dc71c937b8.tar.gz
gsoc2013-evolution-96b306af3289d236e2b23f8cb91327dc71c937b8.tar.bz2
gsoc2013-evolution-96b306af3289d236e2b23f8cb91327dc71c937b8.tar.lz
gsoc2013-evolution-96b306af3289d236e2b23f8cb91327dc71c937b8.tar.xz
gsoc2013-evolution-96b306af3289d236e2b23f8cb91327dc71c937b8.tar.zst
gsoc2013-evolution-96b306af3289d236e2b23f8cb91327dc71c937b8.zip
Remove the "session" field from CamelMimeMessage. Nothing uses it, about
* camel-mime-message.[ch]: Remove the "session" field from CamelMimeMessage. Nothing uses it, about half of the existing calls to camel_mime_message_new_with_session pass NULL, and there's no obvious reason for it to be there. * others: Use camel_mime_message_new instead of camel_mime_message_new_with_session svn path=/trunk/; revision=2479
Diffstat (limited to 'tests/test1.c')
-rw-r--r--tests/test1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test1.c b/tests/test1.c
index d967bb3566..c2f5bc87c0 100644
--- a/tests/test1.c
+++ b/tests/test1.c
@@ -44,7 +44,7 @@ main (int argc, char**argv)
}
}
- message = camel_mime_message_new_with_session ((CamelSession *)NULL);
+ message = camel_mime_message_new ();
camel_mime_part_set_description (CAMEL_MIME_PART (message), "a test");