tweak the r4035 fix to play nice with really old versions of gtk

This commit is contained in:
Charles Kerr 2007-12-03 19:43:21 +00:00
parent 4af2bb98c4
commit 698b8b71b3
1 changed files with 2 additions and 1 deletions

View File

@ -350,7 +350,8 @@ static void
tr_core_insert( TrCore * self, TrTorrent * tor )
{
const tr_info * inf = tr_torrent_info( tor );
gtk_list_store_insert_with_values( GTK_LIST_STORE( self->model ), NULL, 0,
GtkTreeIter unused;
gtk_list_store_insert_with_values( GTK_LIST_STORE( self->model ), &unused, 0,
MC_NAME, inf->name,
MC_SIZE, inf->totalSize,
MC_HASH, inf->hashString,