summaryrefslogtreecommitdiff
path: root/src/trg-torrent-tree-view.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-06 18:57:53 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-06 18:57:53 +0000
commit096eb60b18190d37159bbdddc74053861ae3312a (patch)
tree6cfa343f5530281e2760cefa653ac035b467c6b4 /src/trg-torrent-tree-view.c
parent9eb10ca5994869dc933989430686d83b6720b330 (diff)
TRG_NOUNIQUE environment env for starting more than one instance. fix start url paused. stop timers being activated by interactive actions. and... experimental speed graph!
Diffstat (limited to 'src/trg-torrent-tree-view.c')
-rw-r--r--src/trg-torrent-tree-view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/trg-torrent-tree-view.c b/src/trg-torrent-tree-view.c
index c499804..4e37dd6 100644
--- a/src/trg-torrent-tree-view.c
+++ b/src/trg-torrent-tree-view.c
@@ -77,9 +77,9 @@ gint get_first_selected(trg_client * client, TrgTorrentTreeView * view,
selectionList = gtk_tree_selection_get_selected_rows(selection, NULL);
if ((firstNode = g_list_first(selectionList)) != NULL) {
- if (gtk_tree_model_get_iter(model, iter, (GtkTreePath*)firstNode->data)) {
- gtk_tree_model_get(model, iter,
- TORRENT_COLUMN_JSON, json,
+ if (gtk_tree_model_get_iter
+ (model, iter, (GtkTreePath *) firstNode->data)) {
+ gtk_tree_model_get(model, iter, TORRENT_COLUMN_JSON, json,
TORRENT_COLUMN_ID, &id,
TORRENT_COLUMN_UPDATESERIAL, &updateSerial,
-1);
@@ -89,7 +89,7 @@ gint get_first_selected(trg_client * client, TrgTorrentTreeView * view,
}
}
- g_list_foreach (selectionList, (GFunc) gtk_tree_path_free, NULL);
+ g_list_foreach(selectionList, (GFunc) gtk_tree_path_free, NULL);
g_list_free(selectionList);
return id;