Changeset 5947 for trunk/gtk/main.c


Ignore:
Timestamp:
May 27, 2008, 5:47:39 PM (14 years ago)
Author:
charles
Message:

remove dead code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r5930 r5947  
    10121012                     gpointer       data UNUSED)
    10131013{
    1014     TrTorrent * tor = NULL;
    1015     gtk_tree_model_get( model, iter, MC_TORRENT, &tor, -1 );
    1016     tr_torrent_start( tor );
    1017     g_object_unref( G_OBJECT( tor ) );
     1014    tr_torrent * tor = NULL;
     1015    gtk_tree_model_get( model, iter, MC_TORRENT_RAW, &tor, -1 );
     1016    tr_torrentStart( tor );
    10181017}
    10191018
     
    10241023                    gpointer       data UNUSED)
    10251024{
    1026     TrTorrent * tor = NULL;
    1027     gtk_tree_model_get( model, iter, MC_TORRENT, &tor, -1 );
    1028     tr_torrent_stop( tor );
    1029     g_object_unref( G_OBJECT( tor ) );
     1025    tr_torrent * tor = NULL;
     1026    gtk_tree_model_get( model, iter, MC_TORRENT_RAW, &tor, -1 );
     1027    tr_torrentStop( tor );
    10301028}
    10311029
     
    10361034                      gpointer       data UNUSED)
    10371035{
    1038     TrTorrent * tor = NULL;
    1039     gtk_tree_model_get( model, iter, MC_TORRENT, &tor, -1 );
    1040     tr_torrentManualUpdate( tr_torrent_handle( tor ) );
    1041     g_object_unref( G_OBJECT( tor ) );
     1036    tr_torrent * tor = NULL;
     1037    gtk_tree_model_get( model, iter, MC_TORRENT_RAW, &tor, -1 );
     1038    tr_torrentManualUpdate( tor );
    10421039}
    10431040
Note: See TracChangeset for help on using the changeset viewer.