diff options
author | Trent Lloyd <lathiat@bur.st> | 2005-08-19 17:55:51 +0000 |
---|---|---|
committer | Trent Lloyd <lathiat@bur.st> | 2005-08-19 17:55:51 +0000 |
commit | a52bd64a8db2c07bb2309cf2d8b888cc1a47ec56 (patch) | |
tree | 592dc6a9b9faacd293805d105666d0bb2d19c2c9 /avahi-common/dbus-watch-glue.c | |
parent | 2551f4d1cb1c2dfb02474c3ff4b5c2606076ffba (diff) |
* Add support for specifying the protocol in service definition files
* Add support for proper URL encoding of IPv6 addresses to avahi-bookmarks
* Cast some calls in dbus-watch-glue to get rid of warnings
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@357 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/dbus-watch-glue.c')
-rw-r--r-- | avahi-common/dbus-watch-glue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-common/dbus-watch-glue.c b/avahi-common/dbus-watch-glue.c index 11192f8..7ca1c9d 100644 --- a/avahi-common/dbus-watch-glue.c +++ b/avahi-common/dbus-watch-glue.c @@ -286,13 +286,13 @@ int avahi_dbus_connection_glue(DBusConnection *c, const AvahiPoll *poll_api) { if (!(d->dispatch_timeout = poll_api->timeout_new(poll_api, NULL, dispatch_timeout_callback, d))) goto fail; - if (!(dbus_connection_set_watch_functions(c, add_watch, remove_watch, watch_toggled, connection_data_ref(d), connection_data_unref))) + if (!(dbus_connection_set_watch_functions(c, add_watch, remove_watch, watch_toggled, connection_data_ref(d), (DBusFreeFunction)connection_data_unref))) goto fail; - if (!(dbus_connection_set_timeout_functions(c, add_timeout, remove_timeout, timeout_toggled, connection_data_ref(d), connection_data_unref))) + if (!(dbus_connection_set_timeout_functions(c, add_timeout, remove_timeout, timeout_toggled, connection_data_ref(d), (DBusFreeFunction)connection_data_unref))) goto fail; - dbus_connection_set_dispatch_status_function(c, dispatch_status, connection_data_ref(d), connection_data_unref); + dbus_connection_set_dispatch_status_function(c, dispatch_status, connection_data_ref(d), (DBusFreeFunction)connection_data_unref); if (dbus_connection_get_dispatch_status(c) == DBUS_DISPATCH_DATA_REMAINS) request_dispatch(d); |