Changeset 9365 for branches


Ignore:
Timestamp:
Oct 22, 2009, 2:48:16 AM (13 years ago)
Author:
charles
Message:

(1.7x) backports for 1.76: r9265 #2485 Fix crash in the Preferences dialog when testing to see if the port is open

Location:
branches/1.7x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.7x/NEWS

    r9364 r9365  
    99  * Fix invalid JSON "nan" error on optware
    1010==== GTK+ ====
     11  * Fix crash in the Preferences dialog when testing to see if the port is open
    1112  * Fix crash on exit when a torrent's Properties dialog is open
    1213  * Fix broken SIGINT (ctrl-c) handling
  • branches/1.7x/gtk/tr-prefs.c

    r8889 r9365  
    13051305    gtk_widget_set_sensitive( data->portSpin, FALSE );
    13061306    gtk_label_set_markup( GTK_LABEL( data->portLabel ), _( "<i>Testing...</i>" ) );
    1307     data->portTag = g_signal_connect( data->core, "port-tested", G_CALLBACK(onPortTested), data );
     1307    if( !data->portTag )
     1308        data->portTag = g_signal_connect( data->core, "port-tested", G_CALLBACK(onPortTested), data );
    13081309    tr_core_port_test( data->core );
    13091310}
Note: See TracChangeset for help on using the changeset viewer.