[evolution/webkit] Fix compiler warnings



commit 2869de29b4be946a30c76839827d6b4580f5f833
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jun 3 16:24:09 2011 +0200

    Fix compiler warnings

 .../gui/contact-editor/e-contact-quick-add.c       |    4 ++--
 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 44f6354..c7a4223 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]