From e83f805b8fa34db8ac0b885d3fb78c0e6437c908 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 10 Jan 2013 19:13:00 +0100 Subject: Main, IOThread: move GMainLoop setup code to class EventLoop --- src/input/SoupInputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/input/SoupInputPlugin.cxx') diff --git a/src/input/SoupInputPlugin.cxx b/src/input/SoupInputPlugin.cxx index a591a292c..5a60fa725 100644 --- a/src/input/SoupInputPlugin.cxx +++ b/src/input/SoupInputPlugin.cxx @@ -26,6 +26,7 @@ extern "C" { } #include "IOThread.hxx" +#include "event/Loop.hxx" #include "conf.h" extern "C" { @@ -105,7 +106,7 @@ input_soup_init(const struct config_param *param, GError **error_r) soup_session_async_new_with_options(SOUP_SESSION_PROXY_URI, soup_proxy, SOUP_SESSION_ASYNC_CONTEXT, - io_thread_context(), + io_thread_get().GetContext(), NULL); return true; -- cgit v1.2.3