diff options
author | Max Kellermann <max@duempel.org> | 2013-01-15 18:18:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-15 18:18:34 +0100 |
commit | 707112677065dd59f638764bb9dbd64d200b8a85 (patch) | |
tree | 10b5f2461c43fa5f847df23abccd9ada00e6b237 /src/InotifyUpdate.cxx | |
parent | 2101daef5a939d41a306fcccf2d94992f82723e2 (diff) | |
download | mpd-707112677065dd59f638764bb9dbd64d200b8a85.tar.gz mpd-707112677065dd59f638764bb9dbd64d200b8a85.tar.xz mpd-707112677065dd59f638764bb9dbd64d200b8a85.zip |
InotifySource: use the SocketMonitor class
Diffstat (limited to 'src/InotifyUpdate.cxx')
-rw-r--r-- | src/InotifyUpdate.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/InotifyUpdate.cxx b/src/InotifyUpdate.cxx index 0fe22385b..7ed0e84ba 100644 --- a/src/InotifyUpdate.cxx +++ b/src/InotifyUpdate.cxx @@ -318,7 +318,8 @@ mpd_inotify_init(unsigned max_depth) return; } - inotify_source = InotifySource::Create(mpd_inotify_callback, nullptr, + inotify_source = InotifySource::Create(*main_loop, + mpd_inotify_callback, nullptr, &error); if (inotify_source == NULL) { g_warning("%s", error->message); |