aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-quick-add.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 21:18:54 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 21:18:54 +0800
commitf8730610042229f275a5a294df4c2eb5f225118e (patch)
treeef36b4df5144619db1c4f0f3d207af7645f77bc4 /addressbook/gui/contact-editor/e-contact-quick-add.c
parente4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (diff)
downloadgsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.gz
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.bz2
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.lz
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.xz
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.zst
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.zip
Fix compiler warnings in addressbook.
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-quick-add.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index 418bdbc1ae..926d369b5a 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -250,8 +250,8 @@ clicked_cb (GtkWidget *w, gint button, gpointer closure)
email = tmp;
}
- e_contact_set (qa->contact, E_CONTACT_FULL_NAME, (char *) name ? name : "");
- e_contact_set (qa->contact, E_CONTACT_EMAIL_1, (char *) email ? email : "");
+ e_contact_set (qa->contact, E_CONTACT_FULL_NAME, (gpointer) (name ? name : ""));
+ e_contact_set (qa->contact, E_CONTACT_EMAIL_1, (gpointer) (email ? email : ""));
g_free (name);
g_free (email);