diff options
author | Alan F <ajf@eth0.org.uk> | 2014-02-05 22:27:55 +0000 |
---|---|---|
committer | Alan F <ajf@eth0.org.uk> | 2014-02-05 22:27:55 +0000 |
commit | dd0c7d8317dd199b6dd9d612ebb863c4da6cf242 (patch) | |
tree | 77b67fef415b3fece0e9e6b701a87ba06af20f7a /src | |
parent | e46e6a8fd00505e23fe78847f8035497e9496ce7 (diff) |
correction on port test error fix, maybe it's because it's using the response pointer instead of response->cb_data
Diffstat (limited to 'src')
-rw-r--r-- | src/trg-remote-prefs-dialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-remote-prefs-dialog.c b/src/trg-remote-prefs-dialog.c index d90123c..eadb0ac 100644 --- a/src/trg-remote-prefs-dialog.c +++ b/src/trg-remote-prefs-dialog.c @@ -435,8 +435,8 @@ static gboolean on_port_tested(gpointer data) gtk_label_set_markup(GTK_LABEL(priv->port_test_label), _ ("Port is <span font_weight=\"bold\" fgcolor=\"red\">closed</span>")); - } else if (GTK_IS_WINDOW(data)) { - trg_error_dialog(GTK_WINDOW(data), response); + } else { + trg_error_dialog(GTK_WINDOW(response->cb_data), response); } } |