summaryrefslogtreecommitdiff
path: root/src/trg-torrent-move-dialog.c
diff options
context:
space:
mode:
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,