diff options
author | Murray Cumming <murrayc@murrayc.com> | 2010-01-29 14:55:28 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2010-01-29 14:55:28 +0100 |
commit | 3c0b4ac6c1f608de841397f5ccab0c1ef2c87ba3 (patch) | |
tree | 4bf1eb262ef583cfe2d94cd48b2da731968dba60 /gio/src/iostream.ccg | |
parent | afa80fbc792015d7f9143e5ae7d92329356640fc (diff) | |
download | glibmm-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/iostream.ccg')
-rw-r--r-- | gio/src/iostream.ccg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/iostream.ccg b/gio/src/iostream.ccg index 7ade3d68..ef19006c 100644 --- a/gio/src/iostream.ccg +++ b/gio/src/iostream.ccg @@ -33,7 +33,7 @@ bool IOStream::close(std::auto_ptr<Glib::Error>& error) #endif //GLIBMM_EXCEPTIONS_ENABLED { GError* gerror = 0; - bool retvalue = g_io_stream_close(gobj(), NULL, &(gerror)); + bool retvalue = g_io_stream_close(gobj(), 0, &(gerror)); #ifdef GLIBMM_EXCEPTIONS_ENABLED if(gerror) ::Glib::Error::throw_exception(gerror); @@ -71,7 +71,7 @@ IOStream::close_async(const SlotAsyncReady& slot, int io_priority) g_io_stream_close_async(gobj(), io_priority, - NULL, + 0, &SignalProxy_async_callback, slot_copy); } |