summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-14 08:56:50 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-14 08:56:50 +0000
commitedfa8191b63504e93815955273d1645a84eea873 (patch)
tree085a58ac9d757e43c849ac9eec75b7728d02d90e /src
parentf742706bad48bdf229a968c4d23fdc7133e6e45e (diff)
get_torrent_data() declaration in wrong header, move it.
Diffstat (limited to 'src')
-rw-r--r--src/trg-torrent-model.h4
-rw-r--r--src/trg-torrent-tree-view.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/trg-torrent-model.h b/src/trg-torrent-model.h
index e0fb4c5..ce5cf8c 100644
--- a/src/trg-torrent-model.h
+++ b/src/trg-torrent-model.h
@@ -75,8 +75,12 @@ void trg_torrent_model_update(TrgTorrentModel * model, TrgClient * tc,
gint mode);
GHashTable *get_torrent_table(TrgTorrentModel * model);
+
gboolean trg_torrent_model_is_remove_in_progress(TrgTorrentModel * model);
+gboolean get_torrent_data(GHashTable * table, gint64 id, JsonObject ** t,
+ GtkTreeIter * out_iter);
+
enum {
TORRENT_COLUMN_ICON,
TORRENT_COLUMN_NAME,
diff --git a/src/trg-torrent-tree-view.h b/src/trg-torrent-tree-view.h
index e6369ac..318afd0 100644
--- a/src/trg-torrent-tree-view.h
+++ b/src/trg-torrent-tree-view.h
@@ -52,8 +52,6 @@ GType trg_torrent_tree_view_get_type(void);
TrgTorrentTreeView *trg_torrent_tree_view_new(TrgPrefs *prefs, GtkTreeModel * model);
JsonArray *build_json_id_array(TrgTorrentTreeView * tv);
-gboolean get_torrent_data(GHashTable * table, gint64 id, JsonObject ** t,
- GtkTreeIter * out_iter);
G_END_DECLS
#endif /* _TRG_TORRENT_TREE_VIEW_H_ */