diff options
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor-im.c | 1 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-quick-add.c | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-im.c b/addressbook/gui/contact-editor/e-contact-editor-im.c index d7e98ce909..aedd712261 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-im.c +++ b/addressbook/gui/contact-editor/e-contact-editor-im.c @@ -177,7 +177,6 @@ setup_service_optmenu(EContactEditorIm *editor) GtkWidget *image; GdkPixbuf *pixbuf; GdkPixbuf *scale; - GList *p; GtkSizeGroup *sg; char *icon_path; int i; 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 |