diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-02-08 10:14:46 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-02-08 10:14:46 +0000 |
commit | 2a1c6fc96ff03c84723ca1fb7d3a48e0cd3df115 (patch) | |
tree | dd4eec987c7dcb2b7f0c361831c697c95901f4c9 /src/trg-torrent-tree-view.h | |
parent | 3938a1340d62d6e207b117e0bc84ddb4f62cf6c8 (diff) |
if the torrent selection changes as a result of an update, was possible that it would select another item which has no JSON but isn't removed from the model yet. use updateSerial and updateMutex to ignore these.
Diffstat (limited to 'src/trg-torrent-tree-view.h')
-rw-r--r-- | src/trg-torrent-tree-view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-torrent-tree-view.h b/src/trg-torrent-tree-view.h index 48f7265..6e642af 100644 --- a/src/trg-torrent-tree-view.h +++ b/src/trg-torrent-tree-view.h @@ -51,7 +51,7 @@ GType trg_torrent_tree_view_get_type(void); TrgTorrentTreeView *trg_torrent_tree_view_new(GtkTreeModel * model); JsonArray *build_json_id_array(TrgTorrentTreeView * tv); -gint get_first_selected(TrgTorrentTreeView * view, GtkTreeIter * iter, +gint get_first_selected(trg_client *client, TrgTorrentTreeView * view, GtkTreeIter * iter, JsonObject ** json); G_END_DECLS |