summaryrefslogtreecommitdiff
path: root/gio/src/mount.ccg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-07-16 22:19:21 +0200
committerMurray Cumming <murrayc@murrayc.com>2015-07-16 23:15:20 +0200
commit5fd21ce0f57f29cefbb832e7997ec812631576a5 (patch)
treef35000c7124ddba96f75c800414c0fd22e30fd87 /gio/src/mount.ccg
parente0a6b4e54e5dbe09e3ffafa798d32c88b01e182b (diff)
downloadglibmm-5fd21ce0f57f29cefbb832e7997ec812631576a5.tar.gz
C++11: Use nullptr.
Diffstat (limited to 'gio/src/mount.ccg')
-rw-r--r--gio/src/mount.ccg4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/mount.ccg b/gio/src/mount.ccg
index 522a700f..d5c36446 100644
--- a/gio/src/mount.ccg
+++ b/gio/src/mount.ccg
@@ -281,7 +281,7 @@ void Mount::guess_content_type(bool force_rescan)
void Mount::guess_content_type_sync(const Glib::RefPtr<Cancellable>& cancellable, bool force_rescan)
{
- GError* gerror = 0;
+ GError* gerror = nullptr;
g_mount_guess_content_type_sync(gobj(), force_rescan, Glib::unwrap(cancellable),
&gerror);
if(gerror)
@@ -290,7 +290,7 @@ void Mount::guess_content_type_sync(const Glib::RefPtr<Cancellable>& cancellable
void Mount::guess_content_type_sync(bool force_rescan)
{
- GError* gerror = 0;
+ GError* gerror = nullptr;
g_mount_guess_content_type_sync(gobj(), force_rescan, 0, &gerror);
if(gerror)
::Glib::Error::throw_exception(gerror);