summaryrefslogtreecommitdiff
path: root/gio/src/dbusproxy.ccg
diff options
context:
space:
mode:
Diffstat (limited to 'gio/src/dbusproxy.ccg')
-rw-r--r--gio/src/dbusproxy.ccg8
1 files changed, 4 insertions, 4 deletions
diff --git a/gio/src/dbusproxy.ccg b/gio/src/dbusproxy.ccg
index 3c93d4b1..25014f6d 100644
--- a/gio/src/dbusproxy.ccg
+++ b/gio/src/dbusproxy.ccg
@@ -296,7 +296,7 @@ void Proxy::call(const Glib::ustring& method_name,
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
// and deleted in the callback.
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_dbus_proxy_call(gobj(), method_name.c_str(),
const_cast<GVariant*>(parameters.gobj()),
@@ -314,7 +314,7 @@ void Proxy::call(const Glib::ustring& method_name,
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
// and deleted in the callback.
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_dbus_proxy_call(gobj(), method_name.c_str(),
const_cast<GVariant*>(parameters.gobj()),
@@ -378,7 +378,7 @@ void Proxy::call(
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
// and deleted in the callback.
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_dbus_proxy_call_with_unix_fd_list(gobj(), method_name.c_str(),
const_cast<GVariant*>(parameters.gobj()),
@@ -398,7 +398,7 @@ void Proxy::call(
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
// and deleted in the callback.
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_dbus_proxy_call_with_unix_fd_list(gobj(), method_name.c_str(),
const_cast<GVariant*>(parameters.gobj()),