ocarina: Freeze and thaw during a clear
This should speed up clearing the list, too.
This commit is contained in:
parent
ce2f9f02f8
commit
250964a351
|
@ -99,7 +99,9 @@ void SongList::thaw()
|
|||
|
||||
void SongList::clear()
|
||||
{
|
||||
freeze();
|
||||
gtk_list_store_clear(liststore);
|
||||
thaw();
|
||||
}
|
||||
|
||||
void SongList::insert(list<Track> &track_list)
|
||||
|
|
Loading…
Reference in New Issue