Changeset 12066 for branches


Ignore:
Timestamp:
Mar 2, 2011, 5:39:26 PM (11 years ago)
Author:
jordan
Message:

(2.2x gtk) dead code removed: tr_core_torrent_changed()

Location:
branches/2.2x/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2x/gtk/tr-core.c

    r11808 r12066  
    17471747***/
    17481748
    1749 void
    1750 tr_core_torrent_changed( TrCore * core, int id )
    1751 {
    1752     GtkTreeIter iter;
    1753     GtkTreeModel * model = tr_core_raw_model( core );
    1754 
    1755     if( gtk_tree_model_get_iter_first( model, &iter ) ) do
    1756     {
    1757         tr_torrent * tor;
    1758         gtk_tree_model_get( model, &iter, MC_TORRENT_RAW, &tor, -1 );
    1759         if( tr_torrentId( tor ) == id )
    1760         {
    1761             GtkTreePath * path = gtk_tree_model_get_path( model, &iter );
    1762             gtk_tree_model_row_changed( model, path, &iter );
    1763             gtk_tree_path_free( path );
    1764             break;
    1765         }
    1766     }
    1767     while( gtk_tree_model_iter_next( model, &iter ) );
    1768 }
    1769 
    17701749size_t
    17711750tr_core_get_torrent_count( TrCore * core )
  • branches/2.2x/gtk/tr-core.h

    r11808 r12066  
    168168***
    169169**/
    170 
    171 void tr_core_torrent_changed( TrCore * core, int id );
    172170
    173171void tr_core_port_test( TrCore * core );
Note: See TracChangeset for help on using the changeset viewer.