summaryrefslogtreecommitdiff
path: root/gio/src/unixconnection.ccg
diff options
context:
space:
mode:
Diffstat (limited to 'gio/src/unixconnection.ccg')
-rw-r--r--gio/src/unixconnection.ccg8
1 files changed, 4 insertions, 4 deletions
diff --git a/gio/src/unixconnection.ccg b/gio/src/unixconnection.ccg
index 2341973a..bddc9696 100644
--- a/gio/src/unixconnection.ccg
+++ b/gio/src/unixconnection.ccg
@@ -27,7 +27,7 @@ namespace Gio
void UnixConnection::receive_credentials_async(const SlotAsyncReady& slot,
const Glib::RefPtr<Cancellable>& cancellable)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_unix_connection_receive_credentials_async(gobj(),
Glib::unwrap(cancellable),
@@ -37,7 +37,7 @@ void UnixConnection::receive_credentials_async(const SlotAsyncReady& slot,
void UnixConnection::receive_credentials_async(const SlotAsyncReady& slot)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_unix_connection_receive_credentials_async(gobj(),
0,
@@ -49,7 +49,7 @@ void
UnixConnection::send_credentials_async(const SlotAsyncReady& slot,
const Glib::RefPtr<Cancellable>& cancellable)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_unix_connection_send_credentials_async(gobj(),
Glib::unwrap(cancellable),
@@ -61,7 +61,7 @@ void
UnixConnection::send_credentials_async(const SlotAsyncReady& slot)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_unix_connection_send_credentials_async(gobj(),
0,