diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-04-12 10:54:29 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-04-12 10:54:29 +0000 |
commit | 42eddac0e9f0216175fef223fd9b1023ed502a6e (patch) | |
tree | 7fd853c8fdabc678bc1df0f4eb5160420347ac8e /src/trg-main-window.h | |
parent | f4a194f08d0c48641f5394cd07be61931a432241 (diff) |
some quite significant changes to only receive/update recently-active torrents, if enabled. also use a hash table and tree row references for lookup. hopefully performance will be much better for people with large number of torrents.
Diffstat (limited to 'src/trg-main-window.h')
-rw-r--r-- | src/trg-main-window.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/trg-main-window.h b/src/trg-main-window.h index 09a2439..564dc24 100644 --- a/src/trg-main-window.h +++ b/src/trg-main-window.h @@ -53,10 +53,6 @@ typedef struct { GtkWindowClass parent_class; } TrgMainWindowClass; -#define TORRENT_GET_MODE_FIRST 0 -#define TORRENT_GET_MODE_INTERACTION 1 -#define TORRENT_GET_MODE_UPDATE 2 - #define TORRENT_COMPLETE_NOTIFY_TMOUT 8000 #define TORRENT_ADD_NOTIFY_TMOUT 3000 |