aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bbdb/gaimbuddies.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-04 11:47:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-05 09:22:21 +0800
commit5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a (patch)
tree92b05ad7116690bf2da53a0fa6ba813fcbea50c7 /plugins/bbdb/gaimbuddies.c
parent69945127d8a7933512bb14eb20ff85354704b5cc (diff)
downloadgsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.tar
gsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.tar.gz
gsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.tar.bz2
gsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.tar.lz
gsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.tar.xz
gsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.tar.zst
gsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins/bbdb/gaimbuddies.c')
-rw-r--r--plugins/bbdb/gaimbuddies.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/plugins/bbdb/gaimbuddies.c b/plugins/bbdb/gaimbuddies.c
index d01950b879..13744187f9 100644
--- a/plugins/bbdb/gaimbuddies.c
+++ b/plugins/bbdb/gaimbuddies.c
@@ -300,7 +300,9 @@ bbdb_sync_buddy_list (void)
g_thread_create (bbdb_sync_buddy_list_in_thread, std, FALSE, &error);
if (error) {
- g_warning ("%s: Creation of the thread failed with error: %s", G_STRFUNC, error->message);
+ g_warning (
+ "%s: Creation of the thread failed with error: %s",
+ G_STRFUNC, error->message);
g_error_free (error);
G_UNLOCK (syncing);
@@ -355,7 +357,9 @@ bbdb_merge_buddy_to_contact (EBook *book, GaimBuddy *b, EContact *c)
photo = g_new0 (EContactPhoto, 1);
photo->type = E_CONTACT_PHOTO_TYPE_INLINED;
- if (! g_file_get_contents (b->icon, &contents, &photo->data.inlined.length, &error)) {
+ if (!g_file_get_contents (
+ b->icon, &contents,
+ &photo->data.inlined.length, &error)) {
g_warning ("bbdb: Could not read buddy icon: %s\n", error->message);
g_error_free (error);
for (l = ims; l != NULL; l = l->next)
@@ -544,7 +548,9 @@ parse_contact (xmlNodePtr contact, GList **buddies, GSList *blocked)
}
if (buddy == NULL) {
- fprintf (stderr, "bbdb: Could not find buddy in contact. Malformed Pidgin buddy list file.\n");
+ fprintf (
+ stderr, "bbdb: Could not find buddy in contact. "
+ "Malformed Pidgin buddy list file.\n");
return;
}
@@ -563,7 +569,9 @@ parse_contact (xmlNodePtr contact, GList **buddies, GSList *blocked)
g_free (setting_type);
} else if (! strcmp ((const gchar *)child->name, "name")) {
gb->account_name = get_node_text (child);
- is_blocked = g_slist_find_custom (blocked, gb->account_name, (GCompareFunc)strcmp) != NULL;
+ is_blocked = g_slist_find_custom (
+ blocked, gb->account_name,
+ (GCompareFunc) strcmp) != NULL;
} else if (! strcmp ((const gchar *)child->name, "alias"))
gb->alias = get_node_text (child);