diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-02-05 23:40:45 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-02-05 23:40:45 +0000 |
commit | 3094218489b1e14e4e6462b93180425a1b04f86d (patch) | |
tree | 9c12fc27bc84b8d87fe767a8f39aa92baca61f12 /src/trg-main-window.c | |
parent | 6da264f3d13cd9ea9ccd827c39f0f6caa322a1f5 (diff) |
fix a deadlock if torrent selection changes as a result of an update
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r-- | src/trg-main-window.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c index 8a4e5a4..28a3f99 100644 --- a/src/trg-main-window.c +++ b/src/trg-main-window.c @@ -868,9 +868,7 @@ torrent_selection_changed(GtkWidget * w G_GNUC_UNUSED, gpointer data) win = TRG_MAIN_WINDOW(data); client = priv->client; - g_mutex_lock(client->updateMutex); isSelected = update_selected_torrent_notebook(win, TRUE); - g_mutex_unlock(client->updateMutex); trg_toolbar_torrent_actions_sensitive(priv->toolBar, isSelected); trg_menu_bar_torrent_actions_sensitive(priv->menuBar, isSelected); |