diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-10-19 11:32:55 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-10-19 11:32:55 +0800 |
commit | 6cb2f5ffe5aa4dc13eccf122ab763252aed0b025 (patch) | |
tree | e15e782baf931c8ac247e78db067b501f7d39bcd /addressbook/gui/contact-editor/e-contact-editor-address.c | |
parent | f3533f595d179df1f433501bf7eaa0f5dbc3478c (diff) | |
download | gsoc2013-evolution-6cb2f5ffe5aa4dc13eccf122ab763252aed0b025.tar.gz gsoc2013-evolution-6cb2f5ffe5aa4dc13eccf122ab763252aed0b025.tar.zst gsoc2013-evolution-6cb2f5ffe5aa4dc13eccf122ab763252aed0b025.zip |
Added the function e_card_delivery_address_to_label.
2000-10-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added the
function e_card_delivery_address_to_label.
* contact-editor/e-contact-editor-address.c: Fixed a potential
crash.
* contact-editor/e-contact-editor.c: Made this save the changed
data to the string version of the address.
svn path=/trunk/; revision=6023
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor-address.c')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor-address.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-address.c b/addressbook/gui/contact-editor/e-contact-editor-address.c index fbba8c9454..7df9cb8cb4 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-address.c +++ b/addressbook/gui/contact-editor/e-contact-editor-address.c @@ -205,8 +205,10 @@ static void extract_info(EContactEditorAddress *editor) { ECardDeliveryAddress *address = editor->address; - if (!address) + if (!address) { address = e_card_delivery_address_new(); + editor->address = address; + } address->street = extract_field(editor, "entry-street" ); address->po = extract_field(editor, "entry-po" ); address->ext = extract_field(editor, "entry-ext" ); |