[gvfs] Update for glib API changes



commit 803e3b4edf602e0284864c5469bcbf60445576da
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Jul 1 17:54:25 2009 +0200

    Update for glib API changes
    
    g_socket_accept got a new cancellable argument

 daemon/gvfsftpconnection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsftpconnection.c b/daemon/gvfsftpconnection.c
index 521664c..4d622ab 100644
--- a/daemon/gvfsftpconnection.c
+++ b/daemon/gvfsftpconnection.c
@@ -372,7 +372,7 @@ g_vfs_ftp_connection_accept_data_connection (GVfsFtpConnection *conn,
       return FALSE;
     }
 
-  accepted = g_socket_accept (conn->listen_socket, error);
+  accepted = g_socket_accept (conn->listen_socket, cancellable, error);
   if (accepted == NULL)
     return FALSE;
 



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