diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2023-03-31 18:15:23 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2023-03-31 18:15:23 +0200 |
commit | 7ff8b74a47059edbba7a9f9424fa0022943bc6ec (patch) | |
tree | c1c2ef469fbf0a6caf6b23b9a78b86d8d149255e /gio/src/iostream.ccg | |
parent | 98f3b67b5c1bd71d0e7b41193fb4683fc957e321 (diff) | |
download | glibmm-7ff8b74a47059edbba7a9f9424fa0022943bc6ec.tar.gz |
Add Gio::giomm_SignalProxy_async_callback() with C linkage
and use it instead of SignalProxy_async_callback().
Part of issue #1
Diffstat (limited to 'gio/src/iostream.ccg')
-rw-r--r-- | gio/src/iostream.ccg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gio/src/iostream.ccg b/gio/src/iostream.ccg index d26ca0e9..0615ec42 100644 --- a/gio/src/iostream.ccg +++ b/gio/src/iostream.ccg @@ -32,7 +32,7 @@ IOStream::close_async( auto slot_copy = new SlotAsyncReady(slot); g_io_stream_close_async( - gobj(), io_priority, Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy); + gobj(), io_priority, Glib::unwrap(cancellable), &giomm_SignalProxy_async_callback, slot_copy); } void @@ -43,7 +43,7 @@ IOStream::close_async(const SlotAsyncReady& slot, int io_priority) // and deleted in the callback. auto slot_copy = new SlotAsyncReady(slot); - g_io_stream_close_async(gobj(), io_priority, nullptr, &SignalProxy_async_callback, slot_copy); + g_io_stream_close_async(gobj(), io_priority, nullptr, &giomm_SignalProxy_async_callback, slot_copy); } void @@ -56,7 +56,7 @@ IOStream::splice_async(const Glib::RefPtr<IOStream>& stream2, const SlotAsyncRea auto slot_copy = new SlotAsyncReady(slot); g_io_stream_splice_async(gobj(), Glib::unwrap(stream2), static_cast<GIOStreamSpliceFlags>(flags), - io_priority, Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy); + io_priority, Glib::unwrap(cancellable), &giomm_SignalProxy_async_callback, slot_copy); } void @@ -69,7 +69,7 @@ IOStream::splice_async(const Glib::RefPtr<IOStream>& stream2, const SlotAsyncRea auto slot_copy = new SlotAsyncReady(slot); g_io_stream_splice_async(gobj(), Glib::unwrap(stream2), static_cast<GIOStreamSpliceFlags>(flags), - io_priority, nullptr, &SignalProxy_async_callback, slot_copy); + io_priority, nullptr, &giomm_SignalProxy_async_callback, slot_copy); } } // namespace Gio |