From bdca57aa87ecf8fc44d55db01be06231ac7b083d Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 3 Jan 2013 18:53:37 +0100 Subject: [PATCH] Code cleanup --- src/account.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account.c b/src/account.c index 38f3ea4..f1b2a7a 100644 --- a/src/account.c +++ b/src/account.c @@ -464,7 +464,7 @@ static gboolean _account_get_iter(Account * account, GtkTreeIter * iter) { GtkTreePath * path; - if(account->row == FALSE || (path = gtk_tree_row_reference_get_path( + if(account->row == NULL || (path = gtk_tree_row_reference_get_path( account->row)) == NULL) return FALSE; return gtk_tree_model_get_iter(GTK_TREE_MODEL(account->store), iter,