diff options
author | Max Kellermann <max@duempel.org> | 2013-01-27 22:32:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-27 22:38:14 +0100 |
commit | 0988056471fefa2ee195a170dcf57771e7926a08 (patch) | |
tree | b1e7535d4100756006b61d1a03f60eaad6e1f9b7 /src/ZeroconfGlue.cxx | |
parent | 95c3f57b3027e0961a1e32036dcce0383fb5e6ee (diff) | |
download | mpd-0988056471fefa2ee195a170dcf57771e7926a08.tar.gz mpd-0988056471fefa2ee195a170dcf57771e7926a08.tar.xz mpd-0988056471fefa2ee195a170dcf57771e7926a08.zip |
ZeroconfBonjour: use SocketMonitor instead of GIOChannel
Diffstat (limited to '')
-rw-r--r-- | src/ZeroconfGlue.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ZeroconfGlue.cxx b/src/ZeroconfGlue.cxx index 3facd5762..fd53faa42 100644 --- a/src/ZeroconfGlue.cxx +++ b/src/ZeroconfGlue.cxx @@ -23,6 +23,7 @@ #include "ZeroconfBonjour.hxx" #include "conf.h" #include "Listen.hxx" +#include "gcc.h" #include <glib.h> @@ -36,7 +37,7 @@ static int zeroconfEnabled; void -ZeroconfInit() +ZeroconfInit(gcc_unused EventLoop &loop) { const char *serviceName; @@ -58,7 +59,7 @@ ZeroconfInit() #endif #ifdef HAVE_BONJOUR - BonjourInit(serviceName); + BonjourInit(loop, serviceName); #endif } |