From 165df0aaecf5bd519efcf57ac69ab3d001251284 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Thu, 5 Feb 2009 12:33:14 +0000 Subject: Changed (deprecated) dbus_watch_get_fd to dbus_watch_get_unix_fd. --- src/mandi_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mandi_daemon.c b/src/mandi_daemon.c index d11580d..e02522a 100644 --- a/src/mandi_daemon.c +++ b/src/mandi_daemon.c @@ -208,7 +208,7 @@ static dbus_bool_t mandi_daemon_add_watch(DBusWatch *watch, void *data) { fprintf(stderr, "mandi_daemon_add_watch(): READABLE\n"); #endif daemon->bus_read_watch = watch; - daemon->bus_read_fd = dbus_watch_get_fd(daemon->bus_read_watch); + daemon->bus_read_fd = dbus_watch_get_unix_fd(daemon->bus_read_watch); } /* do nothing for WRITABLE watch, we dispatch when needed */ return TRUE; -- cgit v1.2.1