Re: Gtk2::TreePath broken on Debian?
- From: Kevin Ryde <user42 zip com au>
- To: Matthew Braid <ptkperl mdb id au>
- Cc: "gtk-perl-list gnome org List" <gtk-perl-list gnome org>
- Subject: Re: Gtk2::TreePath broken on Debian?
- Date: Tue, 20 Apr 2010 05:01:47 +1000
Matthew Braid <ptkperl mdb id au> writes:
my $path = undef;
$mod->foreach(sub {
my ($model, $tpath, $iter, $lookfor) = @_;
return 0 if $model->get($iter, 1) != $lookfor;
$path = $tpath;
Probably must $tpath->copy there, as a treepath object generally doesn't
survive beyond the call that created it.
I get a segfault at $path->to_string.
Sounds likely :-)
I assume $mod->get_iter($path) is masking
Or finding no such row for the first couple of (bad) indices and
stopping there.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]