aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/backend/ebook/e-card.c6
-rw-r--r--addressbook/backend/pas/pas-book-view.c6
2 files changed, 6 insertions, 6 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;
diff --git a/addressbook/backend/pas/pas-book-view.c b/addressbook/backend/pas/pas-book-view.c
index e59028f88a..9754fb5692 100644
--- a/addressbook/backend/pas/pas-book-view.c
+++ b/addressbook/backend/pas/pas-book-view.c
@@ -42,7 +42,7 @@ pas_book_view_notify_change (PASBookView *book_view,
book_view->priv->listener, &card_sequence, &ev);
if (ev._major != CORBA_NO_EXCEPTION) {
- g_warning ("pas_book_view_notify_change: Exception signaling BookListener!\n");
+ g_warning ("pas_book_view_notify_change: Exception signaling BookViewListener!\n");
}
CORBA_exception_free (&ev);
@@ -74,7 +74,7 @@ pas_book_view_notify_remove (PASBookView *book_view,
book_view->priv->listener, (Evolution_CardId) id, &ev);
if (ev._major != CORBA_NO_EXCEPTION) {
- g_warning ("pas_book_view_notify_remove: Exception signaling BookListener!\n");
+ g_warning ("pas_book_view_notify_remove: Exception signaling BookViewListener!\n");
}
CORBA_exception_free (&ev);
@@ -107,7 +107,7 @@ pas_book_view_notify_add (PASBookView *book_view,
book_view->priv->listener, &card_sequence, &ev);
if (ev._major != CORBA_NO_EXCEPTION) {
- g_warning ("pas_book_view_notify_add: Exception signaling BookListener!\n");
+ g_warning ("pas_book_view_notify_add: Exception signaling BookViewListener!\n");
}
CORBA_exception_free (&ev);