Changeset 12678


Ignore:
Timestamp:
Aug 13, 2011, 9:03:38 PM (10 years ago)
Author:
jordan
Message:

use a gulong when remembering the return value of g_signal_connect(). we were using a guint in some places.

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/details.c

    r12654 r12678  
    5252    GtkWidget * max_peers_spin;
    5353
    54     guint honor_limits_check_tag;
    55     guint up_limited_check_tag;
    56     guint down_limited_check_tag;
    57     guint down_limit_spin_tag;
    58     guint up_limit_spin_tag;
    59     guint bandwidth_combo_tag;
    60     guint ratio_combo_tag;
    61     guint ratio_spin_tag;
    62     guint idle_combo_tag;
    63     guint idle_spin_tag;
    64     guint max_peers_spin_tag;
     54    gulong honor_limits_check_tag;
     55    gulong up_limited_check_tag;
     56    gulong down_limited_check_tag;
     57    gulong down_limit_spin_tag;
     58    gulong up_limit_spin_tag;
     59    gulong bandwidth_combo_tag;
     60    gulong ratio_combo_tag;
     61    gulong ratio_spin_tag;
     62    gulong idle_combo_tag;
     63    gulong idle_spin_tag;
     64    gulong max_peers_spin_tag;
    6565
    6666    GtkWidget * size_lb;
     
    131131
    132132static void
    133 set_togglebutton_if_different( GtkWidget * w, guint tag, gboolean value )
     133set_togglebutton_if_different( GtkWidget * w, gulong tag, gboolean value )
    134134{
    135135    GtkToggleButton * toggle = GTK_TOGGLE_BUTTON( w );
     
    144144
    145145static void
    146 set_int_spin_if_different( GtkWidget * w, guint tag, int value )
     146set_int_spin_if_different( GtkWidget * w, gulong tag, int value )
    147147{
    148148    GtkSpinButton * spin = GTK_SPIN_BUTTON( w );
     
    157157
    158158static void
    159 set_double_spin_if_different( GtkWidget * w, guint tag, double value )
     159set_double_spin_if_different( GtkWidget * w, gulong tag, double value )
    160160{
    161161    GtkSpinButton * spin = GTK_SPIN_BUTTON( w );
     
    170170
    171171static void
    172 unset_combo( GtkWidget * w, guint tag )
     172unset_combo( GtkWidget * w, gulong tag )
    173173{
    174174    GtkComboBox * combobox = GTK_COMBO_BOX( w );
     
    469469options_page_new( struct DetailsImpl * d )
    470470{
    471     guint tag;
    472471    int row;
     472    gulong tag;
    473473    char buf[128];
    474474    GtkWidget *t, *w, *tb, *h;
  • trunk/gtk/tr-core.c

    r12676 r12678  
    7171    GFile        * monitor_dir;
    7272    GSList       * monitor_files;
    73     guint          monitor_idle_tag;
     73    gulong         monitor_idle_tag;
    7474
    7575    gboolean       adding_from_watch_dir;
Note: See TracChangeset for help on using the changeset viewer.