Re: gtktreeview.c
- From: Sven Neumann <sven gimp org>
- To: Havoc Pennington <hp redhat com>
- Cc: "Padraig O'Briain" <Padraig Obriain Sun COM>, gtk-devel-list gnome org
- Subject: Re: gtktreeview.c
- Date: 17 Dec 2001 20:01:53 +0100
Hi,
Havoc Pennington <hp redhat com> writes:
> "Padraig O'Briain" <Padraig Obriain Sun COM> writes:
> > - for (list = tree_view->priv->columns; list; list = list->data)
> > + for (list = tree_view->priv->columns; list; list = list->next)
>
> Ah, the old "list = list->data" trick. I fixed one of those in my code
> the other day. ;-) Gotta love typesafety!
another good reason for using list = g_list_next (list) instead.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]