Re: PodViewer Problem

Nothing.  It's a bug in PodViewer.  (Hi, Gavin!)

Line 312 of (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 Brown

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