summaryrefslogtreecommitdiff
path: root/src/trg-torrent-model.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-21 22:17:01 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-21 22:17:01 +0000
commit682ae4d2444dfb7ddb4d35c578bf3656bca59922 (patch)
tree679bd4a5c136e951494a0b369e3452ed5135a1c8 /src/trg-torrent-model.h
parent004fe9ed03adf35a62ee714319cf3b49887afde0 (diff)
only lookup the selected torrent id when it changes, remember it until checking every update, use the hash table instead. also fix a crash on multiple consecutive deletes caused by gtktreemodel weirdness.
Diffstat (limited to 'src/trg-torrent-model.h')
-rw-r--r--src/trg-torrent-model.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-torrent-model.h b/src/trg-torrent-model.h
index 7b6d7dc..4f13e9d 100644
--- a/src/trg-torrent-model.h
+++ b/src/trg-torrent-model.h
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-
#ifndef TRG_TORRENT_MODEL_H_
#define TRG_TORRENT_MODEL_H_
@@ -76,6 +75,7 @@ void trg_torrent_model_update(TrgTorrentModel * model, trg_client * tc,
gint mode);
GHashTable *get_torrent_table(TrgTorrentModel * model);
+gboolean trg_torrent_model_is_remove_in_progress(TrgTorrentModel *model);
enum {
TORRENT_COLUMN_ICON,