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/ZeroconfAvahi.hxx | |
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 '')
-rw-r--r-- | src/ZeroconfAvahi.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ZeroconfAvahi.hxx b/src/ZeroconfAvahi.hxx index 2db2523c3..bb046350a 100644 --- a/src/ZeroconfAvahi.hxx +++ b/src/ZeroconfAvahi.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -20,8 +20,10 @@ #ifndef MPD_ZEROCONF_AVAHI_HXX #define MPD_ZEROCONF_AVAHI_HXX +class EventLoop; + void -AvahiInit(const char *service_name); +AvahiInit(EventLoop &loop, const char *service_name); void AvahiDeinit(); |