/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
#include "ebook-test-utils.h"
+#if 0 /* ACCOUNT_MGMT */
static void
print_email (EContact *contact)
{
printf ("Email addresses:\n");
emails = e_contact_get (contact, E_CONTACT_EMAIL);
for (e = emails; e; e = e->next) {
- printf ("\t%s\n", (gchar *)e->data);
+ printf ("\t%s\n", (gchar *) e->data);
}
- g_list_foreach (emails, (GFunc)g_free, NULL);
+ g_list_foreach (emails, (GFunc) g_free, NULL);
g_list_free (emails);
printf ("\n");
g_object_unref (contact);
}
+#endif /* ACCOUNT_MGMT */
gint
-main (gint argc, gchar **argv)
+main (gint argc,
+ gchar **argv)
{
+#if 0 /* ACCOUNT_MGMT */
EBook *book;
g_type_init ();
print_all_emails (book);
g_object_unref (book);
+#endif /* ACCOUNT_MGMT */
return 0;
}