summaryrefslogtreecommitdiff
path: root/gio/src/dbusproxy.ccg
diff options
context:
space:
mode:
authorMarcin Kolny <marcin.kolny@gmail.com>2015-08-08 14:45:12 +0200
committerMarcin Kolny <marcin.kolny@gmail.com>2015-08-08 14:45:59 +0200
commit0d5f63b18f5766760cf39e82ee11482984e0a938 (patch)
treee3f74b9b37e7618c92840024077dff43e6d08f0d /gio/src/dbusproxy.ccg
parentdce7a844e48a582e42eb2b60eef5c1f2527540ac (diff)
parentd94115843f38967b5e883f5f7d8057882ae364cb (diff)
downloadglibmm-0d5f63b18f5766760cf39e82ee11482984e0a938.tar.gz
Merge branch 'master' into glibmm-gir-gmmprocglibmm-gir-gmmproc
Diffstat (limited to 'gio/src/dbusproxy.ccg')
-rw-r--r--gio/src/dbusproxy.ccg12
1 files changed, 6 insertions, 6 deletions
diff --git a/gio/src/dbusproxy.ccg b/gio/src/dbusproxy.ccg
index 3c93d4b1..d9850d70 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()),
@@ -330,7 +330,7 @@ Glib::VariantContainerBase Proxy::call_sync(
CallFlags flags
)
{
- GError* g_error = 0;
+ GError* g_error = nullptr;
GVariant* const gvariant =
g_dbus_proxy_call_sync(gobj(), method_name.c_str(),
@@ -351,7 +351,7 @@ Glib::VariantContainerBase Proxy::call_sync(
CallFlags flags
)
{
- GError* g_error = 0;
+ GError* g_error = nullptr;
GVariant* const gvariant =
g_dbus_proxy_call_sync(gobj(), method_name.c_str(),
@@ -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()),