[evolution-data-server/dbus] Use g_strdup rather than CORBA_string_dup



commit ff5b2e1e1b778c1e2e6b80f97f16f8ec737fab37
Author: Rob Bradford <rob linux intel com>
Date:   Fri Apr 24 17:25:44 2009 +0100

    Use g_strdup rather than CORBA_string_dup
---
 addressbook/libedata-book/e-book-backend.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/addressbook/libedata-book/e-book-backend.c b/addressbook/libedata-book/e-book-backend.c
index c03ff99..0d3bbaf 100644
--- a/addressbook/libedata-book/e-book-backend.c
+++ b/addressbook/libedata-book/e-book-backend.c
@@ -821,7 +821,7 @@ e_book_backend_change_add_new     (const char *vcard)
 	GNOME_Evolution_Addressbook_BookChangeItem* new_change = GNOME_Evolution_Addressbook_BookChangeItem__alloc();
 
 	new_change->changeType= GNOME_Evolution_Addressbook_ContactAdded;
-	new_change->vcard = CORBA_string_dup (vcard);
+	new_change->vcard = g_strdup (vcard);
 
 	return new_change;
 }
@@ -841,7 +841,7 @@ e_book_backend_change_modify_new  (const char *vcard)
 	GNOME_Evolution_Addressbook_BookChangeItem* new_change = GNOME_Evolution_Addressbook_BookChangeItem__alloc();
 
 	new_change->changeType= GNOME_Evolution_Addressbook_ContactModified;
-	new_change->vcard = CORBA_string_dup (vcard);
+	new_change->vcard = g_strdup (vcard);
 
 	return new_change;
 }
@@ -861,7 +861,7 @@ e_book_backend_change_delete_new  (const char *vcard)
 	GNOME_Evolution_Addressbook_BookChangeItem* new_change = GNOME_Evolution_Addressbook_BookChangeItem__alloc();
 
 	new_change->changeType= GNOME_Evolution_Addressbook_ContactDeleted;
-	new_change->vcard = CORBA_string_dup (vcard);
+	new_change->vcard = g_strdup (vcard);
 
 	return new_change;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]