- account = osso_abook_account_get (EVC_EMAIL, NULL, email_address);
- g_free (email_address);
- if (account)
- {
- dialog = osso_abook_add_to_contacts_dialog_new (contact_model, account);
- g_object_unref (account);
- gtk_dialog_run (GTK_DIALOG (dialog));
+ attribute = e_vcard_attribute_new (NULL, EVC_EMAIL);
+ e_vcard_attribute_add_value (attribute, email_address);
+ dialog = osso_abook_temporary_contact_dialog_new (NULL, book, attribute, NULL);
+ gtk_dialog_run (GTK_DIALOG (dialog));