Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
void (*OssoABookMergeWithCb) (const char *uid, gpointer user_data); OssoABookContact* osso_abook_merge_contacts (GList *contacts, GtkWindow *parent); void osso_abook_merge_with_dialog (OssoABookContact *contact, OssoABookContactModel *model, GtkWindow *parent, OssoABookMergeWithCb cb, gpointer user_data);
Functions that merge contacts together and deal with conflict resolution by presenting the user a dialog.
OssoABookContact* osso_abook_merge_contacts (GList *contacts, GtkWindow *parent);
Merge all of the contacts provided into a single contact. If there are any conflicts in the name, then a dialog is shown so that the user can set the final name.
contacts : |
a GList of OssoABookContact objects |
parent : |
an optional parent GtkWindow |
Returns : | a new OssoABookContact. |
void osso_abook_merge_with_dialog (OssoABookContact *contact, OssoABookContactModel *model, GtkWindow *parent, OssoABookMergeWithCb cb, gpointer user_data);