diff options
Diffstat (limited to 'gio/src/proxy.ccg')
-rw-r--r-- | gio/src/proxy.ccg | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/gio/src/proxy.ccg b/gio/src/proxy.ccg index c47db49e..f744a772 100644 --- a/gio/src/proxy.ccg +++ b/gio/src/proxy.ccg @@ -26,34 +26,33 @@ namespace Gio { -void Proxy::connect_async(const Glib::RefPtr<IOStream>& connection, const Glib::RefPtr<const ProxyAddress>& proxy_address, const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable) +void +Proxy::connect_async(const Glib::RefPtr<IOStream>& connection, + const Glib::RefPtr<const ProxyAddress>& proxy_address, const SlotAsyncReady& slot, + const Glib::RefPtr<Cancellable>& cancellable) { // Create a copy of the slot. // A pointer to it will be passed through the callback's data parameter // and deleted in the callback. auto slot_copy = new SlotAsyncReady(slot); - g_proxy_connect_async(gobj(), - Glib::unwrap(connection), - const_cast<GProxyAddress*>(Glib::unwrap(proxy_address)), - Glib::unwrap(cancellable), - &SignalProxy_async_callback, - slot_copy); + g_proxy_connect_async(gobj(), Glib::unwrap(connection), + const_cast<GProxyAddress*>(Glib::unwrap(proxy_address)), Glib::unwrap(cancellable), + &SignalProxy_async_callback, slot_copy); } -void Proxy::connect_async(const Glib::RefPtr<IOStream>& connection, const Glib::RefPtr<const ProxyAddress>& proxy_address, const SlotAsyncReady& slot) +void +Proxy::connect_async(const Glib::RefPtr<IOStream>& connection, + const Glib::RefPtr<const ProxyAddress>& proxy_address, const SlotAsyncReady& slot) { // Create a copy of the slot. // A pointer to it will be passed through the callback's data parameter // and deleted in the callback. auto slot_copy = new SlotAsyncReady(slot); - g_proxy_connect_async(gobj(), - Glib::unwrap(connection), - const_cast<GProxyAddress*>(Glib::unwrap(proxy_address)), - nullptr, - &SignalProxy_async_callback, + g_proxy_connect_async(gobj(), Glib::unwrap(connection), + const_cast<GProxyAddress*>(Glib::unwrap(proxy_address)), nullptr, &SignalProxy_async_callback, slot_copy); } -} //namespace Gio +} // namespace Gio |