summaryrefslogtreecommitdiff
path: root/gio/src/fileiostream.ccg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2010-01-29 14:55:28 +0100
committerMurray Cumming <murrayc@murrayc.com>2010-01-29 14:55:28 +0100
commit3c0b4ac6c1f608de841397f5ccab0c1ef2c87ba3 (patch)
tree4bf1eb262ef583cfe2d94cd48b2da731968dba60 /gio/src/fileiostream.ccg
parentafa80fbc792015d7f9143e5ae7d92329356640fc (diff)
downloadglibmm-3c0b4ac6c1f608de841397f5ccab0c1ef2c87ba3.tar.gz
Use 0 instead of NULL.
* gio/src/*.ccg * glib/src/*.ccg: Use 0 instead of NULL because this is C++ where NULL is generally not a good idea. I didn't see any places where it was a real problem though.
Diffstat (limited to 'gio/src/fileiostream.ccg')
-rw-r--r--gio/src/fileiostream.ccg4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/fileiostream.ccg b/gio/src/fileiostream.ccg
index c6f28ae7..9447d8a0 100644
--- a/gio/src/fileiostream.ccg
+++ b/gio/src/fileiostream.ccg
@@ -50,7 +50,7 @@ Glib::RefPtr<FileInfo> FileIOStream::query_info(const std::string& attributes, s
#endif //GLIBMM_EXCEPTIONS_ENABLED
{
GError* gerror = 0;
- Glib::RefPtr<FileInfo> retvalue = Glib::wrap(g_file_io_stream_query_info(gobj(), g_strdup((attributes).c_str()), NULL, &(gerror)));
+ Glib::RefPtr<FileInfo> retvalue = Glib::wrap(g_file_io_stream_query_info(gobj(), g_strdup((attributes).c_str()), 0, &(gerror)));
#ifdef GLIBMM_EXCEPTIONS_ENABLED
if(gerror)
::Glib::Error::throw_exception(gerror);
@@ -89,7 +89,7 @@ FileIOStream::query_info_async(const SlotAsyncReady& slot, const std::string& at
g_file_io_stream_query_info_async(gobj(),
const_cast<char*>(attributes.c_str()),
io_priority,
- NULL,
+ 0,
&SignalProxy_async_callback,
slot_copy);
}