]> git.meshlink.io Git - catta/commitdiff
replace obsolete dbus api
authorLennart Poettering <lennart@poettering.net>
Sun, 12 Aug 2007 15:39:18 +0000 (15:39 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 12 Aug 2007 15:39:18 +0000 (15:39 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1507 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-common/dbus-watch-glue.c

index a8779d52aa08549b1672b29024e5228f972aa86a..efddd41e9ee659850841e5b50c696b8811234de9 100644 (file)
@@ -134,7 +134,7 @@ static dbus_bool_t update_watch(const AvahiPoll *poll_api, DBusWatch *dbus_watch
 
         if (!(avahi_watch = poll_api->watch_new(
                   poll_api,
-                  dbus_watch_get_fd(dbus_watch),
+                  dbus_watch_get_unix_fd(dbus_watch),
                   translate_dbus_to_avahi(dbus_watch_get_flags(dbus_watch)),
                   watch_callback,
                   dbus_watch)))