From 57cb76cd8486a7cd4ca7de039dd874c6fe32ce94 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Thu, 17 Nov 2011 13:21:27 +0000 Subject: allow remote session variables to be used in actions --- src/trg-destination-combo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/trg-destination-combo.c') 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)) -- cgit v1.2.3