mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
Use sys::exists instead of g_file_test in session.cc
git-svn-id: svn://localhost/ardour2/trunk@2399 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b821426d4a
commit
d767a064b6
1 changed files with 2 additions and 2 deletions
|
|
@ -2950,7 +2950,7 @@ Session::audio_path_from_name (string name, uint32_t nchan, uint32_t chan, bool
|
|||
}
|
||||
}
|
||||
|
||||
if (g_file_test (buf, G_FILE_TEST_EXISTS)) {
|
||||
if (sys::exists(buf)) {
|
||||
existing++;
|
||||
}
|
||||
|
||||
|
|
@ -3145,7 +3145,7 @@ Session::midi_path_from_name (string name)
|
|||
|
||||
snprintf (buf, sizeof(buf), "%s-%u.mid", spath.c_str(), cnt);
|
||||
|
||||
if (g_file_test (buf, G_FILE_TEST_EXISTS)) {
|
||||
if (sys::exists (buf)) {
|
||||
existing++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue