diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-12-10 02:21:16 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-12-10 02:21:16 +0800 |
commit | 3ec0323ff6027be46f6897b439ab4084b45666f0 (patch) | |
tree | 87e07ca98030453be44cfb9853c56ed9b9972a03 /addressbook | |
parent | f34a7f6b0f6146bbd365d8d5ffe1b3631427ecac (diff) | |
download | gsoc2013-evolution-3ec0323ff6027be46f6897b439ab4084b45666f0.tar gsoc2013-evolution-3ec0323ff6027be46f6897b439ab4084b45666f0.tar.gz gsoc2013-evolution-3ec0323ff6027be46f6897b439ab4084b45666f0.tar.bz2 gsoc2013-evolution-3ec0323ff6027be46f6897b439ab4084b45666f0.tar.lz gsoc2013-evolution-3ec0323ff6027be46f6897b439ab4084b45666f0.tar.xz gsoc2013-evolution-3ec0323ff6027be46f6897b439ab4084b45666f0.tar.zst gsoc2013-evolution-3ec0323ff6027be46f6897b439ab4084b45666f0.zip |
When setting the "name" argument, copy the incoming name. This fixes a
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.
svn path=/trunk/; revision=6887
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) |