Commit cfe90984 authored by Matthias Clasen's avatar Matthias Clasen

Avoid a warning if GtkCellView has no model

parent 46903a91
......@@ -577,6 +577,9 @@ gtk_cell_view_request_model (GtkCellView *cellview,
GtkTreeIter iter;
gboolean valid;
if (!priv->model)
valid = gtk_tree_model_iter_children (priv->model, &iter, parent);
while (valid)
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