diff options
author | Max Kellermann <max@duempel.org> | 2013-01-27 22:53:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-27 22:53:21 +0100 |
commit | 2cbe21c791aeb28c61a26a6ff447ba2089f58181 (patch) | |
tree | 403beae3db829f83fc0a7a019058c78f14ed50e0 /src/ZeroconfGlue.cxx | |
parent | 0988056471fefa2ee195a170dcf57771e7926a08 (diff) | |
download | mpd-2cbe21c791aeb28c61a26a6ff447ba2089f58181.tar.gz mpd-2cbe21c791aeb28c61a26a6ff447ba2089f58181.tar.xz mpd-2cbe21c791aeb28c61a26a6ff447ba2089f58181.zip |
ZeroconfAvahi: pass GMainContext to avahi_glib_poll_new()
Diffstat (limited to 'src/ZeroconfGlue.cxx')
-rw-r--r-- | src/ZeroconfGlue.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ZeroconfGlue.cxx b/src/ZeroconfGlue.cxx index fd53faa42..14e1d0866 100644 --- a/src/ZeroconfGlue.cxx +++ b/src/ZeroconfGlue.cxx @@ -55,7 +55,7 @@ ZeroconfInit(gcc_unused EventLoop &loop) serviceName = config_get_string(CONF_ZEROCONF_NAME, SERVICE_NAME); #ifdef HAVE_AVAHI - AvahiInit(serviceName); + AvahiInit(loop, serviceName); #endif #ifdef HAVE_BONJOUR |