diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-card.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 52f53d80e0..3f02359832 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,10 @@ 2000-12-09 Christopher James Lahey <clahey@helixcode.com> + * backend/ebook/e-card.c (e_card_set_arg): When setting the "name" + argument, copy the incoming name. This fixes a crash. + +2000-12-09 Christopher James Lahey <clahey@helixcode.com> + * contact-editor/e-contact-editor.c: Made editing the name using the full name button set the file as entry properly. Made it so that the address parse that the user chooses after diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c index ddbfb5453a..9f74b928fc 100644 --- a/addressbook/backend/ebook/e-card.c +++ b/addressbook/backend/ebook/e-card.c @@ -1440,7 +1440,7 @@ e_card_set_arg (GtkObject *object, GtkArg *arg, guint arg_id) case ARG_NAME: if ( card->name ) e_card_name_free(card->name); - card->name = GTK_VALUE_POINTER(*arg); + card->name = e_card_name_copy(GTK_VALUE_POINTER(*arg)); break; case ARG_CATEGORIES: if (card->categories) |