Fixed a warning with -pedantic
This commit is contained in:
parent
4ab845f1b6
commit
6881cc2073
|
@ -233,7 +233,7 @@ static gboolean _on_timeout_clock(gpointer data)
|
||||||
return _panel_error(panel, "gettimeofday", TRUE);
|
return _panel_error(panel, "gettimeofday", TRUE);
|
||||||
t = tv.tv_sec;
|
t = tv.tv_sec;
|
||||||
localtime_r(&t, &tm);
|
localtime_r(&t, &tm);
|
||||||
strftime(buf, sizeof(buf), "%T\n%d/%m/%Y", &tm);
|
strftime(buf, sizeof(buf), "%H:%M:%S\n%d/%m/%Y", &tm);
|
||||||
gtk_label_set_text(GTK_LABEL(panel->clock), buf);
|
gtk_label_set_text(GTK_LABEL(panel->clock), buf);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user