aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.h')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h
index 27baa9f0fc..7b404945f8 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.h
+++ b/addressbook/gui/contact-editor/e-contact-editor.h
@@ -79,7 +79,7 @@ struct _EContactEditor
EContactField phone_choice[4];
EContactField address_choice;
EContactField address_mailing;
-
+
/* Whether we are editing a new contact or an existing one */
guint is_new_contact : 1;
@@ -92,10 +92,8 @@ struct _EContactEditor
/* Whether the fullname will accept modifications */
guint fullname_editable : 1;
-#if notyet
/* Whether each of the addresses are editable */
- gboolean address_editable[E_CARD_SIMPLE_ADDRESS_ID_LAST];
-#endif
+ gboolean address_editable [E_CONTACT_LAST_ADDRESS_ID - E_CONTACT_FIRST_ADDRESS_ID + 1];
/* Whether an async wombat call is in progress */
guint in_async_call : 1;