Re: gtk_tree_model_iter_previous()



On Wed, 2004-01-21 at 20:37, Bastien Nocera wrote:
> On Wed, 2004-01-21 at 18:53, Owen Taylor wrote:
> > On Wed, 2004-01-21 at 13:44, Murray Cumming Comneon com wrote:
> > > As mentioned here:
> > > http://bugzilla.gnome.org/show_bug.cgi?id=128058
> > > 
> > > It would be nice to have a gtk_tree_model_iter_previous() as well as the
> > > current gtk_tree_model_iter_next(). Totem has an implementation, though I
> > > guess it's significantly slower than gtk_tree_model_iter_next():
> > > http://cvs.gnome.org/lxr/source/totem/src/totem-playlist.c#146
> > > 
> > > Thoughts?
> > 
> > <public service announcement>
> > If we add one, Totem will get what it deserves... people - if you
> > write utility functions, *DO NOT PUT THEM IN THE GTK+ NAMESPACE
> > </public service announcement>
> 
> It's not exported anywhere, the only difference it could make is in
> speed as the gtk+ version will have the internals handy.

You certainly risk link errors or unexpected results at least on some
platforms if you you have the same symbol defined statically and
globally in a library.

The gtk_ namespace belongs to GTK+. Anything gtk_ not in the GTK+
library is a bug.

Regards,
						Owen





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