Changeset 5968


Ignore:
Timestamp:
May 29, 2008, 3:15:33 AM (14 years ago)
Author:
charles
Message:

oops, don't use C++-style comments or we'll break on old compilers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/file-list.c

    r5967 r5968  
    4848enum
    4949{
    50   FC_STOCK,
    51   FC_LABEL,
    52   FC_PROG,
    53   FC_KEY,
    54   FC_INDEX,
    55   FC_SIZE,
    56   FC_HAVE,
    57   FC_PRIORITY,
    58   FC_ENABLED,
    59   FC_IS_FILE,
    60   FC_SUB_SIZE,
    61   FC_SUB_HAVE,
    62   FC_SUB_STATE,
    63   N_FILE_COLS
     50    FC_STOCK,
     51    FC_LABEL,
     52    FC_PROG,
     53    FC_KEY,
     54    FC_INDEX,
     55    FC_SIZE,
     56    FC_HAVE,
     57    FC_PRIORITY,
     58    FC_ENABLED,
     59    FC_IS_FILE,
     60    FC_SUB_SIZE,
     61    FC_SUB_HAVE,
     62    FC_SUB_STATE,
     63    N_FILE_COLS
    6464};
    6565
    6666typedef struct
    6767{
    68   TrTorrent * gtor;
    69   GtkWidget * top;
    70   GtkWidget * view;
    71   GtkTreeModel * model; /* same object as store, but recast */
    72   GtkTreeStore * store; /* same object as model, but recast */
    73   tr_file_stat * refresh_file_stat;
    74   guint timeout_tag;
     68    TrTorrent * gtor;
     69    GtkWidget * top;
     70    GtkWidget * view;
     71    GtkTreeModel * model; /* same object as store, but recast */
     72    GtkTreeStore * store; /* same object as model, but recast */
     73    tr_file_stat * refresh_file_stat;
     74    guint timeout_tag;
    7575}
    7676FileData;
     
    205205                 gpointer        gdata UNUSED )
    206206{
    207     // set the subs to the lowest values...
     207    /* set the subs to the lowest values... */
    208208    gtk_tree_store_set( GTK_TREE_STORE( model ), iter,
    209209                        FC_SUB_STATE, 0,
     
    323323        g_array_append_val( data->array, i );
    324324
    325     return FALSE; /* walk the entire model */
     325    return FALSE; /* keep walking */
    326326}
    327327
Note: See TracChangeset for help on using the changeset viewer.