Changeset 4998 for trunk/gtk/stats.c


Ignore:
Timestamp:
Feb 9, 2008, 5:29:05 PM (14 years ago)
Author:
charles
Message:

(gtk) make TrCore?'s fields private

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/stats.c

    r4481 r4998  
    5252    struct stat_ui * ui = gdata;
    5353    tr_session_stats one, all;
    54     tr_getSessionStats( ui->core->handle, &one );
    55     tr_getCumulativeSessionStats( ui->core->handle, &all );
     54    tr_getSessionStats( tr_core_handle( ui->core ), &one );
     55    tr_getCumulativeSessionStats( tr_core_handle( ui->core ), &all );
    5656
    5757    setLabel( ui->one_up_lb, tr_strlsize( buf, one.uploadedBytes, sizeof(buf) ) );
Note: See TracChangeset for help on using the changeset viewer.