[evolution-data-server/wip/mcrha/soup3] Rename e_soup_session_new_message_uri() to e_soup_session_new_message_from_uri()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/wip/mcrha/soup3] Rename e_soup_session_new_message_uri() to e_soup_session_new_message_from_uri()
- Date: Fri, 10 Dec 2021 11:30:34 +0000 (UTC)
commit 5296a8ee61accbd17165c218026d6cd60eca33e6
Author: Milan Crha <mcrha redhat com>
Date: Fri Dec 10 12:29:50 2021 +0100
Rename e_soup_session_new_message_uri() to e_soup_session_new_message_from_uri()
To better match libsoup naming.
src/libedataserver/e-soup-session.c | 14 +++++++-------
src/libedataserver/e-soup-session.h | 2 +-
src/libedataserver/e-webdav-session.c | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/libedataserver/e-soup-session.c b/src/libedataserver/e-soup-session.c
index 1d2b84db7..78966186e 100644
--- a/src/libedataserver/e-soup-session.c
+++ b/src/libedataserver/e-soup-session.c
@@ -797,7 +797,7 @@ e_soup_session_preset_message (SoupMessage *message)
* but also presets request headers with "User-Agent" to be "Evolution/version"
* and with "Connection" to be "close".
*
- * See also e_soup_session_new_message_uri().
+ * See also e_soup_session_new_message_from_uri().
*
* Returns: (transfer full): a new #SoupMessage, or %NULL on error
*
@@ -823,7 +823,7 @@ e_soup_session_new_message (ESoupSession *session,
}
/**
- * e_soup_session_new_message_uri:
+ * e_soup_session_new_message_from_uri:
* @session: an #ESoupSession
* @method: an HTTP method
* @uri: a #GUri to use for the request
@@ -837,13 +837,13 @@ e_soup_session_new_message (ESoupSession *session,
*
* Returns: (transfer full): a new #SoupMessage, or %NULL on error
*
- * Since: 3.26
+ * Since: 3.44
**/
SoupMessage *
-e_soup_session_new_message_uri (ESoupSession *session,
- const gchar *method,
- GUri *uri,
- GError **error)
+e_soup_session_new_message_from_uri (ESoupSession *session,
+ const gchar *method,
+ GUri *uri,
+ GError **error)
{
SoupMessage *message;
diff --git a/src/libedataserver/e-soup-session.h b/src/libedataserver/e-soup-session.h
index ad8d3da84..0ba45341b 100644
--- a/src/libedataserver/e-soup-session.h
+++ b/src/libedataserver/e-soup-session.h
@@ -99,7 +99,7 @@ SoupMessage * e_soup_session_new_message (ESoupSession *session,
const gchar *method,
const gchar *uri_string,
GError **error);
-SoupMessage * e_soup_session_new_message_uri (ESoupSession *session,
+SoupMessage * e_soup_session_new_message_from_uri (ESoupSession *session,
const gchar *method,
GUri *uri,
GError **error);
diff --git a/src/libedataserver/e-webdav-session.c b/src/libedataserver/e-webdav-session.c
index 4d7a0257b..5e334a5d4 100644
--- a/src/libedataserver/e-webdav-session.c
+++ b/src/libedataserver/e-webdav-session.c
@@ -748,7 +748,7 @@ e_webdav_session_new_message (EWebDAVSession *webdav,
g_free (new_path);
}
- message = e_soup_session_new_message_uri (session, method, guri, error);
+ message = e_soup_session_new_message_from_uri (session, method, guri, error);
g_uri_unref (guri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]