[libdmapsharing] Use soup_session_new() instead of deprecated soup_session_new_async()



commit 5625a86de4d17c0c38f420376e3b802183edbf1b
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Feb 7 22:55:48 2016 +0000

    Use soup_session_new() instead of deprecated soup_session_new_async()
    
    The SoupSession class now handles async and sync communications. Since
    we already call soup_session_queue_message() (which sends the message
    asynchronously) there are no other changes needed.

 libdmapsharing/dmap-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libdmapsharing/dmap-connection.c b/libdmapsharing/dmap-connection.c
index 9f23eef..d222835 100644
--- a/libdmapsharing/dmap-connection.c
+++ b/libdmapsharing/dmap-connection.c
@@ -1215,7 +1215,7 @@ dmap_connection_authenticate_message (DMAPConnection * connection, SoupSession *
 void
 dmap_connection_setup (DMAPConnection * connection)
 {
-       connection->priv->session = soup_session_async_new ();
+       connection->priv->session = soup_session_new ();
 
        g_signal_connect (connection->priv->session, "authenticate", G_CALLBACK(authenticate_cb), connection);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]