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 /glib/src/date.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 'glib/src/date.ccg')
-rw-r--r-- | glib/src/date.ccg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/src/date.ccg b/glib/src/date.ccg index 1be35724..84e2f9a6 100644 --- a/glib/src/date.ccg +++ b/glib/src/date.ccg @@ -102,7 +102,7 @@ void Date::set_time(time_t timet) void Date::set_time_current() { //As suggested in the C documentation: - g_date_set_time_t(&gobject_, time(NULL)); + g_date_set_time_t(&gobject_, time(0)); } void Date::set_time(const GTimeVal& timeval) |