Re: warning about invalid tree model iterators

On 3/21/06, Yevgen Muntyan <muntyan tamu edu> wrote:
2) When you get path/iterator somehow, with error checking, and then
convert it
to iterator/path. E.g. you can get a path from a row reference, and if
it's not NULL,
you know it's a valid path, so you don't need to check return value of

TBH, i even check for the result in those cases, since if just *something* goes wrong (and may it be
an *ahem* bug in GTK+), then you're on the safe side. It's not like it's a problem to check and
if there should be something wrong then you already know it before you're going trough it
with gdb because you had this check there...


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