diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c index e47f861823..bec061d76e 100644 --- a/gtk/gtkcellview.c +++ b/gtk/gtkcellview.c @@ -577,6 +577,9 @@ gtk_cell_view_request_model (GtkCellView *cellview, GtkTreeIter iter; gboolean valid; + if (!priv->model) + return; + valid = gtk_tree_model_iter_children (priv->model, &iter, parent); while (valid) {