summaryrefslogtreecommitdiff
path: root/gio/src/mount.ccg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-11-20 10:10:51 +0100
committerMurray Cumming <murrayc@murrayc.com>2015-11-20 10:18:15 +0100
commit760415293337380b9fa78000670f85bab7406bea (patch)
treef4bca74c00be9cb536d0fd5efee7d1f1dd3d2491 /gio/src/mount.ccg
parent18db5d7fff3b21a754dd053c0af658bdff90241e (diff)
downloadglibmm-760415293337380b9fa78000670f85bab7406bea.tar.gz
Gio: Use of nullptr instead of 0.
Diffstat (limited to 'gio/src/mount.ccg')
-rw-r--r--gio/src/mount.ccg70
1 files changed, 35 insertions, 35 deletions
diff --git a/gio/src/mount.ccg b/gio/src/mount.ccg
index d5c36446..ae2e619b 100644
--- a/gio/src/mount.ccg
+++ b/gio/src/mount.ccg
@@ -36,7 +36,7 @@ void Mount::unmount(const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>&
g_mount_unmount_with_operation(gobj(),
GMountUnmountFlags(flags),
- 0, // mount_operation
+ nullptr, // mount_operation
Glib::unwrap(cancellable),
&SignalProxy_async_callback,
slot_copy);
@@ -51,8 +51,8 @@ void Mount::unmount(const SlotAsyncReady& slot, MountUnmountFlags flags)
g_mount_unmount_with_operation(gobj(),
GMountUnmountFlags(flags),
- 0, // mount_operation
- 0, // cancellable
+ nullptr, // mount_operation
+ nullptr, // cancellable
&SignalProxy_async_callback,
slot_copy);
}
@@ -61,10 +61,10 @@ void Mount::unmount(MountUnmountFlags flags)
{
g_mount_unmount_with_operation(gobj(),
GMountUnmountFlags(flags),
- 0, // mount_operation
- 0, // cancellable
- 0, // callback
- 0); // data
+ nullptr, // mount_operation
+ nullptr, // cancellable
+ nullptr, // callback
+ nullptr); // data
}
void Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation,
@@ -94,7 +94,7 @@ void Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation,
g_mount_unmount_with_operation(gobj(),
GMountUnmountFlags(flags),
Glib::unwrap(mount_operation),
- 0, // cancellable
+ nullptr, // cancellable
&SignalProxy_async_callback,
slot_copy);
}
@@ -105,9 +105,9 @@ void Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation,
g_mount_unmount_with_operation(gobj(),
GMountUnmountFlags(flags),
Glib::unwrap(mount_operation),
- 0, // cancellable
- 0, // callback
- 0); // data
+ nullptr, // cancellable
+ nullptr, // callback
+ nullptr); // data
}
@@ -136,7 +136,7 @@ void Mount::remount(const Glib::RefPtr<MountOperation>& operation, const SlotAsy
g_mount_remount(gobj(),
static_cast<GMountMountFlags>(flags),
Glib::unwrap(operation),
- 0,
+ nullptr,
&SignalProxy_async_callback,
slot_copy);
}
@@ -146,19 +146,19 @@ void Mount::remount(const Glib::RefPtr<MountOperation>& operation, MountMountFla
g_mount_remount(gobj(),
static_cast<GMountMountFlags>(flags),
Glib::unwrap(operation),
- 0,
- 0,
- 0);
+ nullptr,
+ nullptr,
+ nullptr);
}
void Mount::remount(MountMountFlags flags)
{
g_mount_remount(gobj(),
static_cast<GMountMountFlags>(flags),
- 0,
- 0,
- 0,
- 0);
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr);
}
void Mount::eject(const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable, MountUnmountFlags flags)
@@ -170,7 +170,7 @@ void Mount::eject(const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& c
g_mount_eject_with_operation(gobj(),
GMountUnmountFlags(flags),
- 0, // mount_operation
+ nullptr, // mount_operation
Glib::unwrap(cancellable),
&SignalProxy_async_callback,
slot_copy);
@@ -185,8 +185,8 @@ void Mount::eject(const SlotAsyncReady& slot, MountUnmountFlags flags)
g_mount_eject_with_operation(gobj(),
GMountUnmountFlags(flags),
- 0, // mount_operation
- 0, // cancellable
+ nullptr, // mount_operation
+ nullptr, // cancellable
&SignalProxy_async_callback,
slot_copy);
}
@@ -195,10 +195,10 @@ void Mount::eject(MountUnmountFlags flags)
{
g_mount_eject_with_operation(gobj(),
GMountUnmountFlags(flags),
- 0, // mount_operation
- 0, // cancellable
- 0, // callback
- 0); // data
+ nullptr, // mount_operation
+ nullptr, // cancellable
+ nullptr, // callback
+ nullptr); // data
}
void Mount::eject(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable, MountUnmountFlags flags)
@@ -226,7 +226,7 @@ void Mount::eject(const Glib::RefPtr<MountOperation>& mount_operation, const Slo
g_mount_eject_with_operation(gobj(),
GMountUnmountFlags(flags),
Glib::unwrap(mount_operation),
- 0, // cancellable
+ nullptr, // cancellable
&SignalProxy_async_callback,
slot_copy);
}
@@ -236,9 +236,9 @@ void Mount::eject(const Glib::RefPtr<MountOperation>& mount_operation, MountUnmo
g_mount_eject_with_operation(gobj(),
GMountUnmountFlags(flags),
Glib::unwrap(mount_operation),
- 0, // cancellable
- 0, // callback
- 0); // data
+ nullptr, // cancellable
+ nullptr, // callback
+ nullptr); // data
}
@@ -265,7 +265,7 @@ void Mount::guess_content_type(const SlotAsyncReady& slot, bool force_rescan)
g_mount_guess_content_type(gobj(),
force_rescan,
- 0,
+ nullptr,
&SignalProxy_async_callback,
slot_copy);
}
@@ -274,9 +274,9 @@ void Mount::guess_content_type(bool force_rescan)
{
g_mount_guess_content_type(gobj(),
force_rescan,
- 0,
- 0,
- 0);
+ nullptr,
+ nullptr,
+ nullptr);
}
void Mount::guess_content_type_sync(const Glib::RefPtr<Cancellable>& cancellable, bool force_rescan)
@@ -291,7 +291,7 @@ void Mount::guess_content_type_sync(const Glib::RefPtr<Cancellable>& cancellable
void Mount::guess_content_type_sync(bool force_rescan)
{
GError* gerror = nullptr;
- g_mount_guess_content_type_sync(gobj(), force_rescan, 0, &gerror);
+ g_mount_guess_content_type_sync(gobj(), force_rescan, nullptr, &gerror);
if(gerror)
::Glib::Error::throw_exception(gerror);
}