summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-02-05 12:33:14 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-02-05 12:33:14 +0000
commit165df0aaecf5bd519efcf57ac69ab3d001251284 (patch)
treea3c43505900f6c7d5fdeb0d9f88f82a0d2877521
parent9891de326d3070bdf8e7e92500b7b9930a898b11 (diff)
downloadmandi-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.c2
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;