diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-12-11 10:52:35 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-12-11 10:52:35 +0800 |
commit | 80237219dd2404cae88c8ec5653d40a63f6be130 (patch) | |
tree | 3ad3e6f3b0c860a753f49a1de3ef0f962f04d8f5 /addressbook/gui/contact-editor/e-contact-editor-address.h | |
parent | b05794f797b0c92a0080059964948f38e00a25d9 (diff) | |
download | gsoc2013-evolution-80237219dd2404cae88c8ec5653d40a63f6be130.tar.gz gsoc2013-evolution-80237219dd2404cae88c8ec5653d40a63f6be130.tar.zst gsoc2013-evolution-80237219dd2404cae88c8ec5653d40a63f6be130.zip |
Make "address" a boxed type. (e_contact_editor_address_init): Set address
2003-12-10 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_class_init): Make "address" a boxed type.
(e_contact_editor_address_init): Set address to NULL.
(e_contact_editor_address_dispose): Free address.
(e_contact_editor_address_new): Take an EContactAddress.
(e_contact_editor_address_set_property): Re-implement setting the
address property.
(e_contact_editor_address_get_property): Ditto for getting.
(fill_in_info): Enable, use EContactAddress fields.
(extract_info): Ditto.
* gui/contact-editor/e-contact-editor-address.h:
Re-enable the address field, as EContactAddress.
svn path=/trunk/; revision=23923
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor-address.h')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor-address.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-address.h b/addressbook/gui/contact-editor/e-contact-editor-address.h index 893a2ea2f7..30fefa0e56 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-address.h +++ b/addressbook/gui/contact-editor/e-contact-editor-address.h @@ -48,11 +48,9 @@ typedef struct _EContactEditorAddressClass EContactEditorAddressClass; struct _EContactEditorAddress { GtkDialog parent; - -#if notyet + /* item specific fields */ - ECardDeliveryAddress *address; -#endif + EContactAddress *address; guint editable : 1; @@ -65,7 +63,7 @@ struct _EContactEditorAddressClass }; -GtkWidget *e_contact_editor_address_new(/* XXX not yet const ECardDeliveryAddress *name*/); +GtkWidget *e_contact_editor_address_new (const EContactAddress *address); GType e_contact_editor_address_get_type (void); G_END_DECLS |