diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-02-17 09:45:23 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-02-17 09:45:23 +0000 |
commit | 973aaa9d9a020e1644ce2fe45fd3613422f6ada9 (patch) | |
tree | c12c0ecfe8e9f890b7414287cd62e5085fcf0a7d /src/trg-torrent-model.h | |
parent | c10b672d05b8b6b68bbc1ccb92da8b5caa451c68 (diff) |
a bunch of changes needed to facilitate changing trackers (unfinished). also tidy up general details panel a bit, fix a crash if a stats update is received after stats dialog is closed.
Diffstat (limited to 'src/trg-torrent-model.h')
-rw-r--r-- | src/trg-torrent-model.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/trg-torrent-model.h b/src/trg-torrent-model.h index 2c11dd0..b486737 100644 --- a/src/trg-torrent-model.h +++ b/src/trg-torrent-model.h @@ -59,7 +59,7 @@ typedef struct { gint down; gint paused; gint count; -} TrgTorrentModelClassUpdateStats; +} trg_torrent_model_update_stats; GType trg_torrent_model_get_type(void); @@ -72,7 +72,7 @@ find_existing_peer_item(GtkListStore * model, JsonObject * p, void trg_torrent_model_update(TrgTorrentModel * model, trg_client * tc, JsonObject * response, - TrgTorrentModelClassUpdateStats * stats, + trg_torrent_model_update_stats * stats, gboolean first); enum { @@ -96,10 +96,4 @@ enum { TORRENT_COLUMN_COLUMNS }; -struct idAndIter { - gint id; - GtkTreeIter *iter; - gboolean found; -}; - #endif /* TRG_TORRENT_MODEL_H_ */ |