summaryrefslogtreecommitdiff
path: root/daemon/dbus-gmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/dbus-gmain.c')
-rw-r--r--daemon/dbus-gmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/dbus-gmain.c b/daemon/dbus-gmain.c
index d72a0621..52ca6412 100644
--- a/daemon/dbus-gmain.c
+++ b/daemon/dbus-gmain.c
@@ -291,7 +291,7 @@ connection_setup_add_watch (ConnectionSetup *cs,
handler->cs = cs;
handler->watch = watch;
- channel = g_io_channel_unix_new (dbus_watch_get_fd (watch));
+ channel = g_io_channel_unix_new (dbus_watch_get_unix_fd (watch));
handler->source = g_io_create_watch (channel, condition);
g_source_set_callback (handler->source, (GSourceFunc) io_handler_dispatch, handler,