summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2008-02-27 14:22:16 (GMT)
committerRoss Burton <ross@burtonini.com>2008-02-27 14:22:16 (GMT)
commiteea8f7247e1cbeb8c00fe316a37520b98acd55dc (patch)
tree387a747d0bf21621a3ee591db01e841e120cf86e
parent2cf62d7ff7d3a7bc450d0b60bb81a8365ffd310b (diff)
downloaddbus-glib-eea8f7247e1cbeb8c00fe316a37520b98acd55dc.tar.gz
dbus-glib-eea8f7247e1cbeb8c00fe316a37520b98acd55dc.tar.xz
Use dbus_watch_get_unix_fd not dbus_watch_get_fd
The latter is deprecated, so don't use it.
-rw-r--r--dbus/dbus-gmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-gmain.c b/dbus/dbus-gmain.c
index 3271b9b..2069ffa 100644
--- a/dbus/dbus-gmain.c
+++ b/dbus/dbus-gmain.c
@@ -264,7 +264,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,