diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-02-05 12:33:14 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-02-05 12:33:14 +0000 |
commit | 165df0aaecf5bd519efcf57ac69ab3d001251284 (patch) | |
tree | a3c43505900f6c7d5fdeb0d9f88f82a0d2877521 | |
parent | 9891de326d3070bdf8e7e92500b7b9930a898b11 (diff) | |
download | mandi-165df0aaecf5bd519efcf57ac69ab3d001251284.tar mandi-165df0aaecf5bd519efcf57ac69ab3d001251284.tar.gz mandi-165df0aaecf5bd519efcf57ac69ab3d001251284.tar.bz2 mandi-165df0aaecf5bd519efcf57ac69ab3d001251284.tar.xz mandi-165df0aaecf5bd519efcf57ac69ab3d001251284.zip |
Changed (deprecated) dbus_watch_get_fd to dbus_watch_get_unix_fd.
-rw-r--r-- | src/mandi_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |