[Xfce4-commits] <xfce4-mailwatch-plugin:master> Replace backwards compatibility function call

Ján Sučan noreply at xfce.org
Sun Sep 1 23:40:01 CEST 2013


Updating branch refs/heads/master
         to c16fa74fbd402bb756af6b6c36dbb8999d440e6d (commit)
       from bccd352d9f22217a8555a98e8c4147f7d53c3a72 (commit)

commit c16fa74fbd402bb756af6b6c36dbb8999d440e6d
Author: Ján Sučan <sucan at runbox.com>
Date:   Sun Sep 1 23:36:51 2013 +0200

    Replace backwards compatibility function call
    
    Replace gnutls_set_default_priority() function call with equivalent
    gnutls_priority_set_direct() function call.

 libmailwatch-core/mailwatch-net-conn.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmailwatch-core/mailwatch-net-conn.c b/libmailwatch-core/mailwatch-net-conn.c
index b7bbac2..c5e7ce3 100644
--- a/libmailwatch-core/mailwatch-net-conn.c
+++ b/libmailwatch-core/mailwatch-net-conn.c
@@ -613,7 +613,7 @@ xfce_mailwatch_net_conn_make_secure(XfceMailwatchNetConn *net_conn,
     
     /* init the session and set it up */
     gnutls_init(&net_conn->gt_session, GNUTLS_CLIENT);
-    gnutls_set_default_priority(net_conn->gt_session);
+    gnutls_priority_set_direct (net_conn->gt_session, "NORMAL", NULL); 
     gnutls_credentials_set(net_conn->gt_session, GNUTLS_CRD_CERTIFICATE,
                            net_conn->gt_creds);
     gnutls_transport_set_ptr(net_conn->gt_session,


More information about the Xfce4-commits mailing list