ocarina: Freeze and thaw during a clear

This should speed up clearing the list, too.
This commit is contained in:
Bryan Schumaker 2011-09-21 08:21:45 -04:00
parent ce2f9f02f8
commit 250964a351
1 changed files with 2 additions and 0 deletions

View File

@ -99,7 +99,9 @@ void SongList::thaw()
void SongList::clear()
{
freeze();
gtk_list_store_clear(liststore);
thaw();
}
void SongList::insert(list<Track> &track_list)