diff options
Diffstat (limited to 'gio/src/unixconnection.ccg')
-rw-r--r-- | gio/src/unixconnection.ccg | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/gio/src/unixconnection.ccg b/gio/src/unixconnection.ccg index 597dd8af..20a3cdeb 100644 --- a/gio/src/unixconnection.ccg +++ b/gio/src/unixconnection.ccg @@ -24,37 +24,33 @@ namespace Gio { -void UnixConnection::receive_credentials_async(const SlotAsyncReady& slot, - const Glib::RefPtr<Cancellable>& cancellable) +void +UnixConnection::receive_credentials_async( + const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable) { auto slot_copy = new SlotAsyncReady(slot); - g_unix_connection_receive_credentials_async(gobj(), - Glib::unwrap(cancellable), - &SignalProxy_async_callback, - slot_copy); + g_unix_connection_receive_credentials_async( + gobj(), Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy); } -void UnixConnection::receive_credentials_async(const SlotAsyncReady& slot) +void +UnixConnection::receive_credentials_async(const SlotAsyncReady& slot) { auto slot_copy = new SlotAsyncReady(slot); - g_unix_connection_receive_credentials_async(gobj(), - nullptr, - &SignalProxy_async_callback, - slot_copy); + g_unix_connection_receive_credentials_async( + gobj(), nullptr, &SignalProxy_async_callback, slot_copy); } void -UnixConnection::send_credentials_async(const SlotAsyncReady& slot, - const Glib::RefPtr<Cancellable>& cancellable) +UnixConnection::send_credentials_async( + const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable) { auto slot_copy = new SlotAsyncReady(slot); - g_unix_connection_send_credentials_async(gobj(), - Glib::unwrap(cancellable), - &SignalProxy_async_callback, - slot_copy); + g_unix_connection_send_credentials_async( + gobj(), Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy); } void @@ -63,10 +59,7 @@ UnixConnection::send_credentials_async(const SlotAsyncReady& slot) { auto slot_copy = new SlotAsyncReady(slot); - g_unix_connection_send_credentials_async(gobj(), - nullptr, - &SignalProxy_async_callback, - slot_copy); + g_unix_connection_send_credentials_async(gobj(), nullptr, &SignalProxy_async_callback, slot_copy); } } // namespace Gio |