Changeset 10991


Ignore:
Timestamp:
Jul 10, 2010, 10:05:11 PM (12 years ago)
Author:
charles
Message:

(trunk gtk) #3415 "crash in trunk when removing multiple torrents" -- experimental fix for Rolcol to confirm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r10955 r10991  
    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.