Re: gtk_tree_model_sort_increment_stamp doesn't increment stamp



Darin Adler <darin bentspoon com> writes:

> I noticed that the gtk_tree_model_sort_increment_stamp only bumps the stamp
> if the stamp is 0. Is that really what's intended?

Eek.  That is almost certainly supposed to be:

do { tree_model_sort->stamp++; } while (tree_model_sort->stamp == 0);

We don't want stamp wrapping around to 0, but we do want to increase it
most of the time. (-;

-Jonathan



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