Use g_utime for portability in AudioSource::touch_peakfile
This commit is contained in:
parent
ea0e42dee7
commit
dca2774508
@ -191,7 +191,7 @@ AudioSource::touch_peakfile ()
|
||||
tbuf.actime = statbuf.st_atime;
|
||||
tbuf.modtime = time ((time_t) 0);
|
||||
|
||||
utime (peakpath.c_str(), &tbuf);
|
||||
g_utime (peakpath.c_str(), &tbuf);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user