summaryrefslogtreecommitdiff
path: root/src/trg-torrent-move-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-08-27 17:15:31 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-08-27 17:15:31 +0000
commitbd758ee4fc423b9ca152a01f897609daa656c938 (patch)
tree0378306b5b007f38f0c4f6c0d868215f70fd70d6 /src/trg-torrent-move-dialog.c
parentb8a1599a2ab9eafd496ba23179dda97d6e83e917 (diff)
Profile support! Please test and report bugs, as the config system is totally rewritten and may not be perfect. No more GConf (trying to implement profiles with this was UGLY), settings now (for most) live in JSON at $HOME/.config/transmission-remote-gtk/config.json. Hopefully windows support will be easier without GConf.
Diffstat (limited to 'src/trg-torrent-move-dialog.c')
-rw-r--r--src/trg-torrent-move-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/trg-torrent-move-dialog.c b/src/trg-torrent-move-dialog.c
index d683663..b270b4a 100644
--- a/src/trg-torrent-move-dialog.c
+++ b/src/trg-torrent-move-dialog.c
@@ -39,7 +39,7 @@ typedef struct _TrgTorrentMoveDialogPrivate
TrgTorrentMoveDialogPrivate;
struct _TrgTorrentMoveDialogPrivate {
- trg_client *client;
+ TrgClient *client;
TrgMainWindow *win;
TrgTorrentTreeView *treeview;
JsonArray *ids;
@@ -148,7 +148,7 @@ static GObject *trg_torrent_move_dialog_constructor(GType type,
JsonObject *json;
const gchar *name;
- get_torrent_data(priv->client->torrentTable,
+ get_torrent_data(trg_client_get_torrent_table(priv->client),
trg_mw_get_selected_torrent_id(priv->win), &json,
NULL);
name = torrent_get_name(json);
@@ -263,7 +263,7 @@ static void trg_torrent_move_dialog_init(TrgTorrentMoveDialog * self)
}
TrgTorrentMoveDialog *trg_torrent_move_dialog_new(TrgMainWindow * win,
- trg_client * client,
+ TrgClient * client,
TrgTorrentTreeView * ttv)
{
return g_object_new(TRG_TYPE_TORRENT_MOVE_DIALOG,