Don't compare booleans

Just use negation.
This commit is contained in:
Matthias Clasen
2014-12-09 00:22:56 -05:00
parent fb8791cd16
commit 54e3711c39

View File

@ -2014,7 +2014,7 @@ gtk_tree_model_foreach (GtkTreeModel *model,
g_return_if_fail (func != NULL);
path = gtk_tree_path_new_first ();
if (gtk_tree_model_get_iter (model, &iter, path) == FALSE)
if (!gtk_tree_model_get_iter (model, &iter, path))
{
gtk_tree_path_free (path);
return;