diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-12-21 00:32:54 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-12-21 00:32:54 +0000 |
commit | ec64e995ab1467596e75fb0aebda63bb047aefa5 (patch) | |
tree | 07d4d1f73b33085b8f87d9c0ae56a2548a1bc9be /src/torrent.h | |
parent | 980ecb422cb29f93f5fe51b633be46cde36cedc6 (diff) |
file trees :D may do cascading priority changes sometime, but this is a start. also use GTK_STOCK_FILE if mime/extension detection fails.
Diffstat (limited to 'src/torrent.h')
-rw-r--r-- | src/torrent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/torrent.h b/src/torrent.h index daca8c2..7270d6d 100644 --- a/src/torrent.h +++ b/src/torrent.h @@ -118,7 +118,7 @@ gint64 tracker_stats_get_last_scrape_time(JsonObject * t); gint64 file_get_length(JsonObject * f); gint64 file_get_bytes_completed(JsonObject * f); const gchar *file_get_name(JsonObject * f); -gdouble file_get_progress(JsonObject * f); +gdouble file_get_progress(gint64 length, gint64 completed); /* peers */ |