summaryrefslogtreecommitdiff
path: root/gio/src/resolver.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/resolver.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/resolver.ccg')
-rw-r--r--gio/src/resolver.ccg16
1 files changed, 8 insertions, 8 deletions
diff --git a/gio/src/resolver.ccg b/gio/src/resolver.ccg
index 12390313..da83bf4a 100644
--- a/gio/src/resolver.ccg
+++ b/gio/src/resolver.ccg
@@ -56,7 +56,7 @@ Resolver::lookup_by_name_async(const Glib::ustring& hostname, const SlotAsyncRea
auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_by_name_async(
- gobj(), hostname.c_str(), Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy);
+ gobj(), hostname.c_str(), Glib::unwrap(cancellable), &giomm_SignalProxy_async_callback, slot_copy);
}
void
@@ -65,7 +65,7 @@ Resolver::lookup_by_name_async(const Glib::ustring& hostname, const SlotAsyncRea
auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_by_name_async(
- gobj(), hostname.c_str(), nullptr, &SignalProxy_async_callback, slot_copy);
+ gobj(), hostname.c_str(), nullptr, &giomm_SignalProxy_async_callback, slot_copy);
}
void
@@ -75,7 +75,7 @@ Resolver::lookup_by_address_async(const Glib::RefPtr<InetAddress>& address,
auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_by_address_async(gobj(), Glib::unwrap(address), Glib::unwrap(cancellable),
- &SignalProxy_async_callback, slot_copy);
+ &giomm_SignalProxy_async_callback, slot_copy);
}
void
@@ -85,7 +85,7 @@ Resolver::lookup_by_address_async(
auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_by_address_async(
- gobj(), Glib::unwrap(address), nullptr, &SignalProxy_async_callback, slot_copy);
+ gobj(), Glib::unwrap(address), nullptr, &giomm_SignalProxy_async_callback, slot_copy);
}
void
@@ -96,7 +96,7 @@ Resolver::lookup_service_async(const Glib::ustring& service, const Glib::ustring
auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_service_async(gobj(), service.c_str(), protocol.c_str(), domain.c_str(),
- Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy);
+ Glib::unwrap(cancellable), &giomm_SignalProxy_async_callback, slot_copy);
}
void
@@ -106,7 +106,7 @@ Resolver::lookup_service_async(const Glib::ustring& service, const Glib::ustring
auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_service_async(gobj(), service.c_str(), protocol.c_str(), domain.c_str(),
- nullptr, &SignalProxy_async_callback, slot_copy);
+ nullptr, &giomm_SignalProxy_async_callback, slot_copy);
}
void
@@ -117,7 +117,7 @@ Resolver::lookup_records_async(const Glib::ustring& rrname, RecordType record_ty
g_resolver_lookup_records_async(gobj(), Glib::c_str_or_nullptr(rrname),
static_cast<GResolverRecordType>(record_type), Glib::unwrap(cancellable),
- &SignalProxy_async_callback, slot_copy);
+ &giomm_SignalProxy_async_callback, slot_copy);
}
void
@@ -127,7 +127,7 @@ Resolver::lookup_records_async(
auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_records_async(gobj(), Glib::c_str_or_nullptr(rrname),
- static_cast<GResolverRecordType>(record_type), nullptr, &SignalProxy_async_callback, slot_copy);
+ static_cast<GResolverRecordType>(record_type), nullptr, &giomm_SignalProxy_async_callback, slot_copy);
}
std::string