aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bbdb
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:24:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:37:20 +0800
commit8a186c3588d3598857c36e2122fa68d01eba30fd (patch)
tree731078659d4e04af8346c5ca68512d8537b3707a /plugins/bbdb
parent2bf3460cd3eb0853a1d10a6e36f5091898a5533f (diff)
downloadgsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.gz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.bz2
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.lz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.xz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.zst
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.zip
Coding style cleanups.
Diffstat (limited to 'plugins/bbdb')
-rw-r--r--plugins/bbdb/bbdb.c8
-rw-r--r--plugins/bbdb/gaimbuddies.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c
index 545fd6842d..bfb63c5505 100644
--- a/plugins/bbdb/bbdb.c
+++ b/plugins/bbdb/bbdb.c
@@ -197,7 +197,7 @@ bbdb_do_in_thread (gpointer data)
if (!book || !bbdb_open_ebook (book)) {
G_LOCK (todo);
- g_slist_foreach (todo, (GFunc)free_todo_struct, NULL);
+ g_slist_foreach (todo, (GFunc) free_todo_struct, NULL);
g_slist_free (todo);
todo = NULL;
@@ -357,7 +357,7 @@ bbdb_do_it (EBook *book, const gchar *name, const gchar *email)
e_book_query_unref (query);
if (contacts != NULL || !status) {
for (l = contacts; l != NULL; l = l->next)
- g_object_unref ((GObject *)l->data);
+ g_object_unref ((GObject *) l->data);
g_list_free (contacts);
g_free (temp_name);
@@ -391,7 +391,7 @@ bbdb_do_it (EBook *book, const gchar *name, const gchar *email)
this. */
if (!status || contacts->next != NULL) {
for (l = contacts; l != NULL; l = l->next)
- g_object_unref ((GObject *)l->data);
+ g_object_unref ((GObject *) l->data);
g_list_free (contacts);
g_free (temp_name);
return;
@@ -405,7 +405,7 @@ bbdb_do_it (EBook *book, const gchar *name, const gchar *email)
}
for (l = contacts; l != NULL; l = l->next)
- g_object_unref ((GObject *)l->data);
+ g_object_unref ((GObject *) l->data);
g_list_free (contacts);
g_free (temp_name);
diff --git a/plugins/bbdb/gaimbuddies.c b/plugins/bbdb/gaimbuddies.c
index 62fc89d9ec..3e6f344ed0 100644
--- a/plugins/bbdb/gaimbuddies.c
+++ b/plugins/bbdb/gaimbuddies.c
@@ -385,7 +385,7 @@ bbdb_merge_buddy_to_contact (EBook *book, GaimBuddy *b, EContact *c)
return dirty;
}
- photo->data.inlined.data = (guchar *)contents;
+ photo->data.inlined.data = (guchar *) contents;
e_contact_set (c, E_CONTACT_PHOTO, (gpointer) photo);
dirty = TRUE;
}
@@ -492,7 +492,7 @@ bbdb_get_gaim_buddy_list (void)
xmlFreeDoc (buddy_xml);
- g_slist_foreach (blocked, (GFunc)g_free, NULL);
+ g_slist_foreach (blocked, (GFunc) g_free, NULL);
g_slist_free (blocked);
return buddies;
@@ -514,7 +514,7 @@ free_gaim_body (GaimBuddy *gb)
static void
free_buddy_list (GList *blist)
{
- g_list_foreach (blist, (GFunc)free_gaim_body, NULL);
+ g_list_foreach (blist, (GFunc) free_gaim_body, NULL);
g_list_free (blist);
}
@@ -525,7 +525,7 @@ get_node_text (xmlNodePtr node)
strcmp ((gchar *)node->children->name, "text"))
return NULL;
- return g_strdup ((gchar *)node->children->content);
+ return g_strdup ((gchar *) node->children->content);
}
static gchar *