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



commit af2735022c34d58e9708424e8b70afac320b12f3
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 2468180..772f6d3 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 gchar *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 gchar *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 gchar *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]