aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-quick-add.c
diff options
context:
space:
mode:
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, 1 insertions, 3 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index 10bbe7087a..a317075450 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -93,15 +93,13 @@ quick_add_unref (QuickAdd *qa)
static void
quick_add_set_name (QuickAdd *qa, const gchar *name)
{
- EContactName *card_name;
-
if (name == qa->name)
return;
g_free (qa->name);
qa->name = g_strdup (name);
- e_contact_set (qa->contact, E_CONTACT_FULL_NAME, name);
+ e_contact_set (qa->contact, E_CONTACT_FULL_NAME, (char *) name);
}
static void