/*
* $Id$
*/
-/* vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: */
+/* vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:��,trail\:�: */
/*
* Claws-contacts is a proposed new design for the address book feature
* More lightweight is achieved by design, in that sence that the whole
* structure is based on a plugable design.
*
- * Claws Mail is Copyright (C) 1999-2011 by the Claws Mail Team and
+ * Claws Mail is Copyright (C) 1999-2012 by the Claws Mail Team and
* Claws-contacts is Copyright (C) 2011 by Michael Rasmussen.
*
* This program is free software; you can redistribute it and/or modify
if (connection == NULL || *error) {
if (! *error)
g_set_error(error, client_object_error_quark(), 1, "Unable to connect to dbus");
- g_warning("Unable to connect to dbus: %s\n", (*error)->message);
+ g_warning("Unable to connect to dbus: %s", (*error)->message);
return FALSE;
}
"/org/clawsmail/contacts",
"org.clawsmail.Contacts");
if (proxy == NULL) {
- g_warning("Could not get a proxy object\n");
+ g_warning("Could not get a proxy object");
g_set_error(error, client_object_error_quark(), 1, "Could not get a proxy object");
return FALSE;
}
utf8 = g_convert(locale, -1, "UTF-8", current, &read, &write, &error);
if (error) {
- g_warning("Fail to convert [%s]: %s\n", charset, error->message);
+ g_warning("Failed to convert [%s]: %s", charset, error->message);
g_free(current);
return NULL;
}
g_free(contact->name);
g_free(contact->book);
g_free(contact);
- contact = NULL;
+ *data = NULL;
}
void addressbook_harvest(FolderItem *folderItem,
void addressbook_install_hooks(GError** error) {
if ((guint)-1 == hooks_register_hook(
COMPOSE_CREATED_HOOKLIST, my_compose_create_hook, NULL)) {
- g_warning("Could not register hook for adding vCards\n");
+ g_warning("Could not register hook for adding vCards");
if (error) {
g_set_error(error, client_object_error_quark(), 1,
"Could not register hook for adding vCards");