aboutsummaryrefslogtreecommitdiffstats
path: root/src/ZeroconfGlue.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-27 22:32:10 +0100
committerMax Kellermann <max@duempel.org>2013-01-27 22:38:14 +0100
commit0988056471fefa2ee195a170dcf57771e7926a08 (patch)
treeb1e7535d4100756006b61d1a03f60eaad6e1f9b7 /src/ZeroconfGlue.cxx
parent95c3f57b3027e0961a1e32036dcce0383fb5e6ee (diff)
downloadmpd-0988056471fefa2ee195a170dcf57771e7926a08.tar.gz
mpd-0988056471fefa2ee195a170dcf57771e7926a08.tar.xz
mpd-0988056471fefa2ee195a170dcf57771e7926a08.zip
ZeroconfBonjour: use SocketMonitor instead of GIOChannel
Diffstat (limited to '')
-rw-r--r--src/ZeroconfGlue.cxx5
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
}