mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
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
This commit is contained in:
parent
1b1c7288d9
commit
eeb5299573
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user