aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bbdb/bbdb.c
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/bbdb.c
parent2bf3460cd3eb0853a1d10a6e36f5091898a5533f (diff)
downloadgsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.gz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.zst
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.zip
Coding style cleanups.
Diffstat (limited to 'plugins/bbdb/bbdb.c')
-rw-r--r--plugins/bbdb/bbdb.c8
1 files changed, 4 insertions, 4 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);