"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/plugins/bbdb/gaimbuddies.c" between
evolution-3.32.4.tar.xz and evolution-3.34.0.tar.xz

About: Evolution is a personal information management application that provides integrated mail, calendaring and address book functionality (GNOME desktop).

gaimbuddies.c  (evolution-3.32.4.tar.xz):gaimbuddies.c  (evolution-3.34.0.tar.xz)
skipping to change at line 269 skipping to change at line 269
if (!bbdb_merge_buddy_to_contact (client, b, c)) { if (!bbdb_merge_buddy_to_contact (client, b, c)) {
g_slist_free_full ( g_slist_free_full (
contacts, contacts,
(GDestroyNotify) g_object_unref); (GDestroyNotify) g_object_unref);
continue; continue;
} }
/* Write it out to the addressbook */ /* Write it out to the addressbook */
e_book_client_modify_contact_sync ( e_book_client_modify_contact_sync (
client, c, NULL, &error); client, c, E_BOOK_OPERATION_FLAG_NONE, NULL, &err or);
if (error != NULL) { if (error != NULL) {
g_warning ( g_warning (
"bbdb: Could not modify contact: %s", "bbdb: Could not modify contact: %s",
error->message); error->message);
g_clear_error (&error); g_clear_error (&error);
} }
g_slist_free_full ( g_slist_free_full (
contacts, contacts,
skipping to change at line 292 skipping to change at line 292
} }
/* Otherwise, create a new contact. */ /* Otherwise, create a new contact. */
c = e_contact_new (); c = e_contact_new ();
e_contact_set (c, E_CONTACT_FULL_NAME, (gpointer) b->alias); e_contact_set (c, E_CONTACT_FULL_NAME, (gpointer) b->alias);
if (!bbdb_merge_buddy_to_contact (client, b, c)) { if (!bbdb_merge_buddy_to_contact (client, b, c)) {
g_object_unref (c); g_object_unref (c);
continue; continue;
} }
e_book_client_add_contact_sync (client, c, NULL, NULL, &error); e_book_client_add_contact_sync (client, c, E_BOOK_OPERATION_FLAG_ NONE, NULL, NULL, &error);
if (error != NULL) { if (error != NULL) {
g_warning ( g_warning (
"bbdb: Failed to add new contact: %s", "bbdb: Failed to add new contact: %s",
error->message); error->message);
g_clear_error (&error); g_clear_error (&error);
goto exit; goto exit;
} }
g_object_unref (c); g_object_unref (c);
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)