From 99edef45e47724a65daafbe0c3b9ad367258f820 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 7 Nov 2013 17:43:25 +0100 Subject: perlish $adjustment->page_size => adjustment->get_property("page_size") --- perl-install/mygtk3.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/mygtk3.pm') diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index 6e4c880d1..af2447722 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -1448,7 +1448,7 @@ sub _allow_scroll_TextView_to_bottom { sub { my ($o_force) = @_; my $adjustment = $scrolledWindow->get_vadjustment; - if ($o_force || $adjustment->page_size + $adjustment->value == $adjustment->upper) { + if ($o_force || $adjustment->get_property("page_size") + $adjustment->value == $adjustment->upper) { flush(); #- one must flush before scrolling to end, otherwise the text just added *may* not be taken into account correctly, and so it doesn't really scroll to end $textView->scroll_to_mark($textView->get_buffer->get_mark('end'), 0, 1, 0, 1); } -- cgit v1.2.1