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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.