@@ -39,11 +39,11 @@ gboolean
3939is_locale_12h(void)
4040{
4141 int i;
42− static const char *formats_24h[] = {"%H", "%R", "%T", "%OH", "%k", NULL};
42+ static const char *formats_24h[] = {"%H", "%R", "%T", "%OH", "%k", nullptr};
4343 const char* t_fmt = nl_langinfo(T_FMT);
4444
45− for (i=0; formats_24h[i]!=NULL; i++)
46− if (strstr(t_fmt, formats_24h[i]) != NULL)
45+ for (i=0; formats_24h[i]!=nullptr; i++)
46+ if (strstr(t_fmt, formats_24h[i]) != nullptr)
4747 return FALSE;
4848
4949 return TRUE;
@@ -129,7 +129,7 @@ getDateProximity(GDateTime* now, GDateTime* time)
129129const char*
130130dgettext_datetime(const char *text)
131131{
132− return dgettext("indicator-datetime", text);
132+ return dgettext("indicator-datetime", text);
133133}
134134
135135/**
@@ -150,9 +150,9 @@ dgettext_datetime(const char *text)
150150char* generate_full_format_string_at_time (GDateTime* now,
151151 GDateTime* then)
152152{
153− GString* ret = g_string_new (NULL);
153+ GString* ret = g_string_new (nullptr);
154154
155− if (then != NULL) {
155+ if (then != nullptr) {
156156 const date_proximity_t prox = getDateProximity(now, then);
157157
158158 if (is_locale_12h()) {