diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2020-09-30 11:40:58 +0200 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2020-10-05 20:28:27 +0000 |
commit | 99e633f74e82b557326c17169a7d654712519001 (patch) | |
tree | 1001f529d0556bb15656d0cd5ca72413e10c704b /libsoup | |
parent | e8f9ea8549ef8129a2eb7450edc644bbf8efda58 (diff) | |
download | libsoup-99e633f74e82b557326c17169a7d654712519001.tar.gz |
session: make soup_session_steal_connection static
And remove the stealing tests since it's internal api already covered by
websockets tests.
Diffstat (limited to 'libsoup')
-rw-r--r-- | libsoup/soup-session-private.h | 3 | ||||
-rw-r--r-- | libsoup/soup-session.c | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/libsoup/soup-session-private.h b/libsoup/soup-session-private.h index 023cd6cb..3272301b 100644 --- a/libsoup/soup-session-private.h +++ b/libsoup/soup-session-private.h @@ -15,9 +15,6 @@ G_BEGIN_DECLS SoupMessageQueue *soup_session_get_queue (SoupSession *session); -GIOStream * soup_session_steal_connection (SoupSession *session, - SoupMessage *msg); - G_END_DECLS diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c index d801f6f8..1ae7aba2 100644 --- a/libsoup/soup-session.c +++ b/libsoup/soup-session.c @@ -3995,9 +3995,8 @@ steal_connection (SoupSession *session, * connection). No guarantees are made about what kind of #GIOStream * is returned. * - * Since: 2.50 - **/ -GIOStream * + */ +static GIOStream * soup_session_steal_connection (SoupSession *session, SoupMessage *msg) { |