Re: desktop font + PATCH for 82565



Frank Worsley <fworsley shaw ca> writes:

> > This almost works.
> > 
> > You really should do:
> > 
> > static gboolean
> > foreach_func (GtkTreeModel *model,
> >               GtkTreePath  *path,
> >               GtkTreeIter  *iter,
> >               gpointer      data)
> > {
> >   gtk_tree_model_row_changed (model, path, iter);
> >   return FALSE;
> > }
> > 
> > gtk_tree_model_foreach (model, foreach_func, NULL);
> > 
> 
> This seems like a lot of work when a simple gtk_widget_queue_draw does
> what we want. Should I really change this?

Yes.  If it changes the size of the row, you need to let the model know.

-Jonathan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]