summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-01 18:27:28 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-01 18:27:28 +0000
commit88499797cc64ae0e563ef978ca2e08f38c4a6051 (patch)
tree458622337d7c359eaa842d4504ec79bc26fee851
parent786bfb4ef30c02d2aa1336effcf258d786857def (diff)
issue 134
-rw-r--r--src/trg-main-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 603c1aa..f92b4e7 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -960,7 +960,7 @@ static gboolean trg_torrent_tree_view_visible_func(GtkTreeModel * model,
JsonObject *json;
gtk_tree_model_get(model, iter, TORRENT_COLUMN_JSON, &json, -1);
- if (!torrent_has_tracker(json,
+ if (!json || !torrent_has_tracker(json,
trg_state_selector_get_url_host_regex(priv->stateSelector),
text))
return FALSE;