Re: gtk_tree_model_sort_increment_stamp doesn't increment stamp
- From: Jonathan Blandford <jrb redhat com>
- To: Darin Adler <darin bentspoon com>
- Cc: Gtk Developers <gtk-devel-list gnome org>
- Subject: Re: gtk_tree_model_sort_increment_stamp doesn't increment stamp
- Date: 11 Feb 2002 19:11:44 -0500
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]