summaryrefslogtreecommitdiff
path: root/src/trg-destination-combo.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-11-17 13:21:27 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-11-17 13:21:27 +0000
commit57cb76cd8486a7cd4ca7de039dd874c6fe32ce94 (patch)
tree2f5955a8f200a9179a1ebe05be9a4150911b2ce7 /src/trg-destination-combo.c
parent5bb75c2cc4c5ad23eebef9832fb74a9eaf632b51 (diff)
allow remote session variables to be used in actions
Diffstat (limited to 'src/trg-destination-combo.c')
-rw-r--r--src/trg-destination-combo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/trg-destination-combo.c b/src/trg-destination-combo.c
index 1689e52..e0207a6 100644
--- a/src/trg-destination-combo.c
+++ b/src/trg-destination-combo.c
@@ -184,7 +184,6 @@ static GObject *trg_destination_combo_constructor(GType type,
GtkTreePath *path;
GtkListStore *comboModel;
JsonArray *saved_destinations;
- JsonObject *t;
gchar *defaultDir;
comboModel = gtk_list_store_new(N_DEST_COLUMNS, G_TYPE_STRING,
@@ -233,7 +232,7 @@ static GObject *trg_destination_combo_constructor(GType type,
if (gtk_tree_model_get_iter(model, &iter, path)) {
gchar *dd;
- gtk_tree_model_get(model, &iter, TORRENT_COLUMN_JSON, &t,
+ gtk_tree_model_get(model, &iter,
TORRENT_COLUMN_DOWNLOADDIR, &dd, -1);
if (dd && g_strcmp0(dd, defaultDir))