summaryrefslogtreecommitdiff
path: root/gio/src/asyncinitable.ccg
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2023-03-31 18:15:23 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2023-03-31 18:15:23 +0200
commit7ff8b74a47059edbba7a9f9424fa0022943bc6ec (patch)
treec1c2ef469fbf0a6caf6b23b9a78b86d8d149255e /gio/src/asyncinitable.ccg
parent98f3b67b5c1bd71d0e7b41193fb4683fc957e321 (diff)
downloadglibmm-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/asyncinitable.ccg')
-rw-r--r--gio/src/asyncinitable.ccg6
1 files changed, 3 insertions, 3 deletions
diff --git a/gio/src/asyncinitable.ccg b/gio/src/asyncinitable.ccg
index 38b5dd1c..8b47b903 100644
--- a/gio/src/asyncinitable.ccg
+++ b/gio/src/asyncinitable.ccg
@@ -62,7 +62,7 @@ AsyncInitable::init_async(
auto slot_copy = new SlotAsyncReady(slot);
g_async_initable_init_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
@@ -73,7 +73,7 @@ AsyncInitable::init_async(const SlotAsyncReady& slot, int io_priority)
// and deleted in the callback.
auto slot_copy = new SlotAsyncReady(slot);
- g_async_initable_init_async(gobj(), io_priority, nullptr, &SignalProxy_async_callback, slot_copy);
+ g_async_initable_init_async(gobj(), io_priority, nullptr, &giomm_SignalProxy_async_callback, slot_copy);
}
void
@@ -134,7 +134,7 @@ Gio::AsyncInitable::init_async_vfunc(
if (base && base->init_async)
{
(*base->init_async)(gobj(), io_priority, const_cast<GCancellable*>(Glib::unwrap(cancellable)),
- &SignalProxy_async_callback, const_cast<SlotAsyncReady*>(&slot));
+ &giomm_SignalProxy_async_callback, const_cast<SlotAsyncReady*>(&slot));
}
}
gboolean