From 32771dcb635711acda8030b39c4141deeef95406 Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Tue, 9 Mar 2004 08:11:26 +0000 Subject: fixed type in contact editor code to make email ui building work svn path=/trunk/; revision=24996 --- addressbook/gui/contact-editor/e-contact-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/contact-editor/e-contact-editor.c') diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 8a7c92e371..5d213fa543 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -3107,7 +3107,7 @@ enable_writable_fields(EContactEditor *editor) e_contact_editor_build_email_ui (editor); for (i = 0; i < G_N_ELEMENTS (emails); i ++) g_hash_table_insert (dropdown_hash, - (char*)e_contact_field_name(phones[i]), + (char*)e_contact_field_name(emails[i]), editor->email_info[i].widget); e_contact_editor_build_address_ui (editor); for (i = E_CONTACT_FIRST_ADDRESS_ID; i <= E_CONTACT_LAST_ADDRESS_ID; i ++) -- cgit v1.2.3