From b3cdb41a122e797572b834fac6d5e11ddd579d5e Mon Sep 17 00:00:00 2001 From: bertrand Date: Sun, 30 May 1999 20:02:42 +0000 Subject: new class. Represents an abstract stream object. 1999-05-30 bertrand * camel/camel-stream.h: new class. Represents an abstract stream object. svn path=/trunk/; revision=960 --- tests/test2.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/test2.c') diff --git a/tests/test2.c b/tests/test2.c index 538ae14345..91e2fa0f2d 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -5,6 +5,7 @@ #include "camel-log.h" #include "camel-mime-message.h" #include "camel-mime-part.h" +#include "camel-stream.h" void print_header_pair (gpointer key, gpointer value, gpointer user_data) { @@ -32,16 +33,14 @@ main (int argc, char**argv) FILE *output_file; GHashTable *header_table; CamelMimeMessage *message; - GnomeStream *stream; - - + CamelStream *stream; gtk_init (&argc, &argv); camel_debug_level = FULL_DEBUG; message = camel_mime_message_new_with_session( (CamelSession *)NULL); input_file = fopen ("mail.test", "r"); - stream = gnome_stream_fs_open (NULL, "/tmp/a.png", GNOME_Storage_READ); + /*stream = gnome_stream_fs_open (NULL, "mail.test", GNOME_Storage_READ);*/ if (!input_file) { perror("could not open input file"); exit(2); -- cgit v1.2.3