(trunk) make tr_torrentName() a public function.

This has been a private function in libtransmission for awhile now but it makes more sense as a public function.
This commit is contained in:
Jordan Lee
2011-02-15 15:18:51 +00:00
parent f8f61d89d5
commit 72f9ab91fa
11 changed files with 34 additions and 29 deletions

View File

@@ -539,7 +539,7 @@ gtr_file_list_set_torrent( GtkWidget * w, int torrentId )
/* build a GNode tree of the files */
root_data = g_new0( struct row_struct, 1 );
root_data->name = g_strdup( inf->name );
root_data->name = g_strdup( tr_torrentName( tor ) );
root_data->index = -1;
root_data->length = 0;
root = g_node_new( root_data );