Commit eeb52995 authored by Matthias Clasen's avatar Matthias Clasen

GtkFontSel: Don't try to set the cursor on invalid iters

This causes a lot of warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=677293
parent 1b1c7288
......@@ -1055,7 +1055,8 @@ gtk_font_selection_show_available_sizes (GtkFontSelection *fontsel,
found = TRUE;
}
gtk_tree_model_iter_next (GTK_TREE_MODEL (model), &iter);
if (!gtk_tree_model_iter_next (GTK_TREE_MODEL (model), &iter))
break;
}
if (!found)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment