diff options
Diffstat (limited to 'gio/src/socketaddressenumerator.ccg')
-rw-r--r-- | gio/src/socketaddressenumerator.ccg | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/gio/src/socketaddressenumerator.ccg b/gio/src/socketaddressenumerator.ccg index d7aca9b6..405773f5 100644 --- a/gio/src/socketaddressenumerator.ccg +++ b/gio/src/socketaddressenumerator.ccg @@ -22,21 +22,20 @@ #include <giomm/socketaddress.h> #include "slot_async.h" -namespace Gio { +namespace Gio +{ - void - SocketAddressEnumerator::next_async(const Glib::RefPtr<Cancellable>& cancellable, - 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); +void +SocketAddressEnumerator::next_async( + const Glib::RefPtr<Cancellable>& cancellable, 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_socket_address_enumerator_next_async(gobj(), - Glib::unwrap(cancellable), - &SignalProxy_async_callback, - slot_copy); - } + g_socket_address_enumerator_next_async( + gobj(), Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy); +} } // namespace Gio |