-
- gtk_widget_destroy(info->dialog);
- info->dialog = NULL;
-
- GList *result = info->result;
- if (!info->cancel) {
- if (info->error) {
- gchar * debug_url_string = tny_account_get_url_string (tny_account);
- g_warning ("%s:\n error: %s\n account url: %s", __FUNCTION__, info->error->message,
- debug_url_string);
- g_free (debug_url_string);
-
- g_propagate_error(error, info->error);
- info->error = NULL;
- }
- } else {
- // Tell the caller that the operation was canceled so it can
- // make a difference
- g_set_error(error,
- modest_utils_get_supported_secure_authentication_error_quark(),
- MODEST_UTILS_GET_SUPPORTED_SECURE_AUTHENTICATION_ERROR_CANCELED,
- "User has canceled query");
- }