[libsoup/mcatanzaro/soup-socket-is-readable: 2/2] socket: Remove soup_socket_is_readable()
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/mcatanzaro/soup-socket-is-readable: 2/2] socket: Remove soup_socket_is_readable()
- Date: Mon, 25 Feb 2019 08:48:03 +0000 (UTC)
commit 286fc52feb595c1b9049cd3881cefc0b4f2f547f
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Fri Feb 22 15:23:46 2019 -0600
socket: Remove soup_socket_is_readable()
I removed the only usage of this function in b609d44e so time for it to
go.
libsoup/soup-socket-private.h | 1 -
libsoup/soup-socket.c | 11 -----------
2 files changed, 12 deletions(-)
---
diff --git a/libsoup/soup-socket-private.h b/libsoup/soup-socket-private.h
index 582d6124..bc6c105e 100644
--- a/libsoup/soup-socket-private.h
+++ b/libsoup/soup-socket-private.h
@@ -38,7 +38,6 @@ gboolean soup_socket_handshake_finish (SoupSocket *sock,
GAsyncResult *result,
GError **error);
-gboolean soup_socket_is_readable (SoupSocket *sock);
GSocket *soup_socket_get_gsocket (SoupSocket *sock);
GSocket *soup_socket_steal_gsocket (SoupSocket *sock);
GIOStream *soup_socket_get_connection (SoupSocket *sock);
diff --git a/libsoup/soup-socket.c b/libsoup/soup-socket.c
index 311c627c..afa9be4a 100644
--- a/libsoup/soup-socket.c
+++ b/libsoup/soup-socket.c
@@ -1149,17 +1149,6 @@ soup_socket_steal_gsocket (SoupSocket *sock)
return gsock;
}
-gboolean
-soup_socket_is_readable (SoupSocket *sock)
-{
- SoupSocketPrivate *priv;
-
- g_return_val_if_fail (SOUP_IS_SOCKET (sock), FALSE);
- priv = soup_socket_get_instance_private (sock);
-
- return g_pollable_input_stream_is_readable (G_POLLABLE_INPUT_STREAM (priv->istream));
-}
-
GIOStream *
soup_socket_get_connection (SoupSocket *sock)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]