[evolution] Fix compiler warnings
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Fix compiler warnings
- Date: Fri, 3 Jun 2011 14:24:33 +0000 (UTC)
commit aac5be7ab9e0d315c7889bfeeb6b72094306e08d
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]