blob: b036c190f5a6558549153946d10e8b71e3e08a2a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#include "camel.h"
int
main (int argc, char**argv)
{
GtkType type;
gtk_init (&argc, &argv);
camel_init ();
printf ("Test 3 : data wrapper repository\n");
printf ("\nMime type : \"multipart\"\n");
type = data_wrapper_repository_get_data_wrapper_type ("multipart");
printf ("Type found %s\n", gtk_type_name (type) );
printf ("\nMime type : \"multipart/alternative\"\n");
type = data_wrapper_repository_get_data_wrapper_type ("multipart/alternative");
printf ("Type found %s\n", gtk_type_name (type) );
printf ("\nMime type : \"toto/titi\"\n");
type = data_wrapper_repository_get_data_wrapper_type ("toto/titi");
printf ("Type found %s\n", gtk_type_name (type) );
printf ("Test3 finished\n");
}
|