Changeset 12655 for trunk/gtk/main.c


Ignore:
Timestamp:
Aug 8, 2011, 5:10:55 PM (11 years ago)
Author:
jordan
Message:

remove the gtr_idle_add() portability wrapper around gdk_threads_add_idle() -- it's unnecessary now that the minimum gtk version's been bumped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r12654 r12655  
    335335
    336336    if( data->refresh_actions_tag == 0 )
    337         data->refresh_actions_tag = gtr_idle_add( refresh_actions, data );
     337        data->refresh_actions_tag = gdk_threads_add_idle( refresh_actions, data );
    338338}
    339339
     
    468468            data->id = tr_torrentId( tor );
    469469            data->core = cbdata->core;
    470             gtr_idle_add( rpc_torrent_add_idle, data );
     470            gdk_threads_add_idle( rpc_torrent_add_idle, data );
    471471            break;
    472472        }
     
    478478            data->core = cbdata->core;
    479479            data->delete_files = type == TR_RPC_TORRENT_TRASHING;
    480             gtr_idle_add( rpc_torrent_remove_idle, data );
     480            gdk_threads_add_idle( rpc_torrent_remove_idle, data );
    481481            status = TR_RPC_NOREMOVE;
    482482            break;
     
    10541054    gdk_threads_enter( );
    10551055    gtr_core_close( cbdata->core );
    1056     gtr_idle_add( on_session_closed, gdata );
     1056    gdk_threads_add_idle( on_session_closed, gdata );
    10571057    gdk_threads_leave( );
    10581058    return NULL;
     
    14431443
    14441444    if( data->update_model_soon_tag == 0 )
    1445         data->update_model_soon_tag = gtr_idle_add( update_model_once, data );
     1445        data->update_model_soon_tag = gdk_threads_add_idle( update_model_once, data );
    14461446}
    14471447
Note: See TracChangeset for help on using the changeset viewer.