summaryrefslogtreecommitdiff
path: root/client/gvfsdaemondbus.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 11:43:42 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 11:43:42 +0000
commit62409e2e08a18dfab701358ab80c572d31710a45 (patch)
tree3b502bc6013e59e5b716d538bb794c3185408b40 /client/gvfsdaemondbus.c
parent5645489b4459b3a3bab6f22cf47bc1b1fc519185 (diff)
downloadgvfs-62409e2e08a18dfab701358ab80c572d31710a45.tar.gz
Use dbus_connection_get_unix_fd instead of dbus_connection_get_socket as the later is not availible on all dbus versions
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1171295051 +0100 svn path=/trunk/; revision=328
Diffstat (limited to 'client/gvfsdaemondbus.c')
-rw-r--r--client/gvfsdaemondbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gvfsdaemondbus.c b/client/gvfsdaemondbus.c
index 5828958d..253fd474 100644
--- a/client/gvfsdaemondbus.c
+++ b/client/gvfsdaemondbus.c
@@ -714,7 +714,7 @@ _g_vfs_daemon_call_sync (DBusMessage *message,
/* Make sure the message is sent */
dbus_connection_flush (connection);
- if (!dbus_connection_get_socket (connection, &dbus_fd))
+ if (!dbus_connection_get_unix_fd (connection, &dbus_fd))
{
dbus_pending_call_unref (pending);
g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_IO,