Changeset 10992


Ignore:
Timestamp:
Jul 11, 2010, 4:47:52 AM (12 years ago)
Author:
charles
Message:

(2.0x gtk) #3415 "crash in trunk when removing multiple torrents" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/gtk/main.c

    r10759 r10992  
    306306}
    307307
    308 static void
    309 refreshActions( struct cbdata * data )
     308static gboolean
     309refreshActions( gpointer gdata )
    310310{
    311311    int canUpdate;
    312312    struct counts_data counts;
     313    struct cbdata * data = gdata;
    313314    GtkTreeSelection * s = data->sel;
    314315
     
    345346        action_sensitize( "start-all-torrents", active != total );
    346347    }
     348
     349    return FALSE;
    347350}
    348351
     
    350353selectionChangedCB( GtkTreeSelection * s UNUSED, gpointer data )
    351354{
    352     refreshActions( data );
     355    gtr_idle_add( refreshActions, data );
    353356}
    354357
Note: See TracChangeset for help on using the changeset viewer.