Re: PodViewer Problem
- From: Gavin Brown <gavin brown uk com>
- To: muppet <scott asofyet org>
- Cc: "Ratcliffe, Jeffrey \(Peters\)" <Jeffrey Ratcliffe External eads com>, gtk-perl mailing list <gtk-perl-list gnome org>
- Subject: Re: PodViewer Problem
- Date: Mon, 18 Sep 2006 10:14:54 +0100
Nothing. It's a bug in PodViewer. (Hi, Gavin!)
Line 312 of PodViewer.pm (version 0.16) is
return $self->scroll_to_mark($mark, undef, 1, 0, 0);
According to the manpage for Gtk2::TextView, the signature is
$text_view->scroll_to_mark ($mark, $within_margin,
$use_align, $xalign, $yalign)
* $mark (Gtk2::TextMark)
* $within_margin (double)
* $use_align (boolean)
* $xalign (double)
* $yalign (double)
so that line should actually be
return $self->scroll_to_mark($mark, 0, 1, 0, 0);
Fixed in CVS. Thanks for the heads-up.
I'll roll a new release and put it on CPAN now.
Gavin.
--
Gavin Brown
http://jodrell.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]