Fix compiler warnings

This commit is contained in:
Milan Crha
2011-06-03 16:24:09 +02:00
committed by Rodrigo Moya
parent e146d67bad
commit 72725007fb

View File

@ -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);