Ocarina: sid_t changes

Use the "get_songid()" function rather than "get_inode()"
This commit is contained in:
Bryan Schumaker 2011-12-21 08:20:39 -05:00
parent e4f7fde197
commit f047c72521
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ void SongList::clear()
void SongList::insert(Track &track)
{
gtk_list_store_insert_with_values(liststore, NULL, ins_next,
0, track.get_inode(),
0, track.get_songid(),
1, track.get_track(),
2, track.get_title().c_str(),
3, track.get_lenstr().c_str(),

View File

@ -106,7 +106,7 @@ static int scroll_to_check_row(GtkTreeModel *model, GtkTreePath *path,
void SongList::scroll_to(Track &track)
{
struct scroll_data data;
data.inode = track.get_inode();
data.inode = track.get_songid();
data.treeview = treeview;
gtk_tree_view_get_visible_rect(GTK_TREE_VIEW(treeview), &data.rect);