From 2a1c6fc96ff03c84723ca1fb7d3a48e0cd3df115 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Tue, 8 Feb 2011 10:14:46 +0000 Subject: 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. --- src/trg-torrent-tree-view.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/trg-torrent-tree-view.h') 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 -- cgit v1.2.3