Coding style and whitespace cleanups.
[platform/upstream/evolution-data-server.git] / tests / libecal / test-ecal-get-cal-address.c
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
3 #include <stdlib.h>
4 #include <libecal/e-cal.h>
5
6 #include "ecal-test-utils.h"
7
8 gint
9 main (gint argc, gchar **argv)
10 {
11         ECal *cal;
12         gchar *uri = NULL;
13         gchar *address;
14
15         g_type_init ();
16
17         cal = ecal_test_utils_cal_new_temp (&uri, E_CAL_SOURCE_TYPE_EVENT);
18         ecal_test_utils_cal_open (cal, FALSE);
19
20         address = ecal_test_utils_cal_get_cal_address (cal);
21         test_print ("calendar address: '%s'\n", address);
22
23         ecal_test_utils_cal_remove (cal);
24
25         g_free (address);
26
27         return 0;
28 }