aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 44f6354162..c7a42233c2 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -322,11 +322,11 @@ clicked_cb (GtkWidget *w, gint button, gpointer closure)
e_contact_set (
qa->contact, E_CONTACT_FULL_NAME,
- (gpointer) (name != NULL) ? name : "");
+ (name != NULL) ? name : "");
e_contact_set (
qa->contact, E_CONTACT_EMAIL_1,
- (gpointer) (email != NULL) ? email : "");
+ (email != NULL) ? email : "");
g_free (name);
g_free (email);