Re: warning about invalid tree model iterators
- From: "Milosz Derezynski" <internalerror gmail com>
- To: "Yevgen Muntyan" <muntyan tamu edu>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: warning about invalid tree model iterators
- Date: Tue, 21 Mar 2006 14:55:11 +0100
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
gtk_tree_model_get_iter.
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...
Milosz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]