aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-card.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-04-13 16:45:37 +0800
committerChris Lahey <clahey@src.gnome.org>2000-04-13 16:45:37 +0800
commitdb968c5b9ef629aebea74b290d71b99ee8a1c58b (patch)
treee9cde53da89f7beec7cacfd42460b93b9fa03048 /addressbook/backend/ebook/e-card.c
parentbc162e949ed126225cc371ddded34451a93a6bfd (diff)
downloadgsoc2013-evolution-db968c5b9ef629aebea74b290d71b99ee8a1c58b.tar
gsoc2013-evolution-db968c5b9ef629aebea74b290d71b99ee8a1c58b.tar.gz
gsoc2013-evolution-db968c5b9ef629aebea74b290d71b99ee8a1c58b.tar.bz2
gsoc2013-evolution-db968c5b9ef629aebea74b290d71b99ee8a1c58b.tar.lz
gsoc2013-evolution-db968c5b9ef629aebea74b290d71b99ee8a1c58b.tar.xz
gsoc2013-evolution-db968c5b9ef629aebea74b290d71b99ee8a1c58b.tar.zst
gsoc2013-evolution-db968c5b9ef629aebea74b290d71b99ee8a1c58b.zip
Give correct warnings.
2000-04-13 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/pas/pas-book-view.c: Give correct warnings. * addressbook/backend/ebook/e-card.c (e_card_set_arg): g_strdup url and title. svn path=/trunk/; revision=2421
Diffstat (limited to 'addressbook/backend/ebook/e-card.c')
-rw-r--r--addressbook/backend/ebook/e-card.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c
index 2bd0e4e7c8..2f4e1d23b8 100644
--- a/addressbook/backend/ebook/e-card.c
+++ b/addressbook/backend/ebook/e-card.c
@@ -671,17 +671,17 @@ e_card_set_arg (GtkObject *object, GtkArg *arg, guint arg_id)
case ARG_URL:
if ( card->url )
g_free(card->url);
- card->url = GTK_VALUE_STRING(*arg);
+ card->url = g_strdup(GTK_VALUE_STRING(*arg));
break;
case ARG_TITLE:
if ( card->title )
g_free(card->title);
- card->title = GTK_VALUE_STRING(*arg);
+ card->title = g_strdup(GTK_VALUE_STRING(*arg));
break;
case ARG_ID:
if (card->id)
g_free(card->id);
- card->id = GTK_VALUE_STRING(*arg);
+ card->id = g_strdup(GTK_VALUE_STRING(*arg));
break;
default:
return;