[evolution-ews/wip/mcrha/office365: 28/50] Add forgotten '_sync' suffix to e_o365_connection_add_mail_message_attachment()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/wip/mcrha/office365: 28/50] Add forgotten '_sync' suffix to e_o365_connection_add_mail_message_attachment()
- Date: Mon, 3 Aug 2020 15:24:08 +0000 (UTC)
commit 6b36a8b857ae06dcc77ac3f47dc3a16a927ded59
Author: Milan Crha <mcrha redhat com>
Date: Thu Jul 2 15:10:39 2020 +0200
Add forgotten '_sync' suffix to e_o365_connection_add_mail_message_attachment()
src/Office365/camel/camel-o365-utils.c | 2 +-
src/Office365/common/e-o365-connection.c | 14 +++++++-------
src/Office365/common/e-o365-connection.h | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/Office365/camel/camel-o365-utils.c b/src/Office365/camel/camel-o365-utils.c
index 76e86faa..f2e9c585 100644
--- a/src/Office365/camel/camel-o365-utils.c
+++ b/src/Office365/camel/camel-o365-utils.c
@@ -904,7 +904,7 @@ camel_o365_utils_create_message_sync (EO365Connection *cnc,
e_o365_json_end_object_member (builder);
- success = e_o365_connection_add_mail_message_attachment (cnc, NULL, message_id,
builder, NULL, cancellable, error);
+ success = e_o365_connection_add_mail_message_attachment_sync (cnc, NULL, message_id,
builder, NULL, cancellable, error);
g_object_unref (builder);
}
diff --git a/src/Office365/common/e-o365-connection.c b/src/Office365/common/e-o365-connection.c
index 04ac030d..f2627358 100644
--- a/src/Office365/common/e-o365-connection.c
+++ b/src/Office365/common/e-o365-connection.c
@@ -2621,13 +2621,13 @@ e_o365_connection_create_mail_message_sync (EO365Connection *cnc,
/* https://docs.microsoft.com/en-us/graph/api/message-post-attachments?view=graph-rest-1.0&tabs=http */
gboolean
-e_o365_connection_add_mail_message_attachment (EO365Connection *cnc,
- const gchar *user_override, /* for which user, NULL to use the
account user */
- const gchar *message_id, /* the message to add it to */
- JsonBuilder *attachment, /* filled attachment object */
- gchar **out_attachment_id,
- GCancellable *cancellable,
- GError **error)
+e_o365_connection_add_mail_message_attachment_sync (EO365Connection *cnc,
+ const gchar *user_override, /* for which user, NULL to
use the account user */
+ const gchar *message_id, /* the message to add it to */
+ JsonBuilder *attachment, /* filled attachment object */
+ gchar **out_attachment_id,
+ GCancellable *cancellable,
+ GError **error)
{
SoupMessage *message = NULL;
JsonObject *added_attachment = NULL;
diff --git a/src/Office365/common/e-o365-connection.h b/src/Office365/common/e-o365-connection.h
index 961cc32d..1ab45af2 100644
--- a/src/Office365/common/e-o365-connection.h
+++ b/src/Office365/common/e-o365-connection.h
@@ -244,7 +244,7 @@ gboolean e_o365_connection_create_mail_message_sync
EO365MailMessage **out_appended_message, /* free with
json_object_unref() */
GCancellable *cancellable,
GError **error);
-gboolean e_o365_connection_add_mail_message_attachment
+gboolean e_o365_connection_add_mail_message_attachment_sync
(EO365Connection *cnc,
const gchar *user_override, /* for which user, NULL to use
the account user */
const gchar *message_id, /* the message to add it to */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]