[libsoup/carlosgc/remove-request-started: 9/9] session: remove SoupSession::request-started
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/carlosgc/remove-request-started: 9/9] session: remove SoupSession::request-started
- Date: Sun, 25 Oct 2020 20:03:13 +0000 (UTC)
commit 17d751486955149b52b25c05a4a53307cdc36ab7
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Fri Oct 23 12:11:39 2020 +0200
session: remove SoupSession::request-started
libsoup/soup-session.c | 23 -----------------------
1 file changed, 23 deletions(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index 98aab880..407ac314 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -172,7 +172,6 @@ G_DEFINE_TYPE_WITH_PRIVATE (SoupSession, soup_session, G_TYPE_OBJECT)
enum {
REQUEST_QUEUED,
REQUEST_UNQUEUED,
- REQUEST_STARTED,
AUTHENTICATE,
LAST_SIGNAL
};
@@ -1043,7 +1042,6 @@ soup_session_send_queue_item (SoupSession *session,
"Connection", "Keep-Alive");
}
- g_signal_emit (session, signals[REQUEST_STARTED], 0, item->msg);
soup_message_starting (item->msg);
if (item->state == SOUP_MESSAGE_RUNNING)
soup_connection_send_request (item->conn, item, completion_cb, item);
@@ -2452,27 +2450,6 @@ soup_session_class_init (SoupSessionClass *session_class)
G_TYPE_NONE, 1,
SOUP_TYPE_MESSAGE);
- /**
- * SoupSession::request-started:
- * @session: the session
- * @msg: the request being sent
- *
- * Emitted just before a request is sent. See
- * #SoupSession::request_queued for a detailed description of
- * the message lifecycle within a session.
- *
- * Deprecated: 2.50. Use #SoupMessage::starting instead.
- **/
- signals[REQUEST_STARTED] =
- g_signal_new ("request-started",
- G_OBJECT_CLASS_TYPE (object_class),
- G_SIGNAL_RUN_FIRST,
- 0,
- NULL, NULL,
- NULL,
- G_TYPE_NONE, 1,
- SOUP_TYPE_MESSAGE);
-
/**
* SoupSession::request-unqueued:
* @session: the session
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]