diff options
Diffstat (limited to 'perl-install/ugtk3.pm')
-rw-r--r-- | perl-install/ugtk3.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index 99c4ce5a8..74fc1f21f 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -1444,7 +1444,7 @@ sub new { mygtk3::import_style_ressources(); my $darea = gtknew('DrawingArea', widget_name => 'Banner'); $darea->{back_pixbuf} = gtknew('Pixbuf', file => 'banner-background'); - my $d_height = $darea->{back_pixbuf}->get_height; + my $d_height = $darea->{back_pixbuf}->get_allocated_height; $darea->set_size_request(-1, $d_height); $darea->modify_font(Pango::FontDescription->from_string("13")); eval { $darea->{icon} = ugtk3::gtkcreate_pixbuf($icon) }; |