Changeset 12219 for trunk/gtk/tr-core.c


Ignore:
Timestamp:
Mar 24, 2011, 6:20:47 PM (11 years ago)
Author:
jordan
Message:

(trunk gtk) remove function gtr_strcmp0, which is redundant due to tr_strcmp0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-core.c

    r12204 r12219  
    443443        gtk_tree_model_get( m, a, MC_NAME_COLLATED, &ca, -1 );
    444444        gtk_tree_model_get( m, b, MC_NAME_COLLATED, &cb, -1 );
    445         ret = gtr_strcmp0( ca, cb );
     445        ret = tr_strcmp0( ca, cb );
    446446        g_free( cb );
    447447        g_free( ca );
     
    756756    struct TrCorePrivate * p = TR_CORE( core )->priv;
    757757
    758     if( p->monitor && ( !is_enabled || gtr_strcmp0( dir, p->monitor_dir ) ) )
     758    if( p->monitor && ( !is_enabled || tr_strcmp0( dir, p->monitor_dir ) ) )
    759759    {
    760760        g_signal_handler_disconnect( p->monitor, p->monitor_tag );
     
    14031403        || ( newError != oldError )
    14041404        || ( newActivePeerCount != oldActivePeerCount )
    1405         || gtr_strcmp0( oldTrackers, newTrackers )
    1406         || gtr_strcmp0( oldCollatedName, newCollatedName )
     1405        || tr_strcmp0( oldTrackers, newTrackers )
     1406        || tr_strcmp0( oldCollatedName, newCollatedName )
    14071407        || gtr_compare_double( newUpSpeed, oldUpSpeed, 3 )
    14081408        || gtr_compare_double( newDownSpeed, oldDownSpeed, 3 )
     
    15831583gtr_core_set_pref( TrCore * self, const char * key, const char * newval )
    15841584{
    1585     if( gtr_strcmp0( newval, gtr_pref_string_get( key ) ) )
     1585    if( tr_strcmp0( newval, gtr_pref_string_get( key ) ) )
    15861586    {
    15871587        gtr_pref_string_set( key, newval );
Note: See TracChangeset for help on using the changeset viewer.