diff options
Diffstat (limited to 'perl-install/ugtk.pm')
-rw-r--r-- | perl-install/ugtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk.pm b/perl-install/ugtk.pm index 93001beb6..fac3e1646 100644 --- a/perl-install/ugtk.pm +++ b/perl-install/ugtk.pm @@ -818,7 +818,7 @@ sub gtkcreate_png { sub compose_pixbufs { my ($pixbuf, $back_pixbuf_unaltered, $alpha_threshold) = @_; - $alpha_threshold = 255 unless $alpha_threshold; + $alpha_threshold ||= 255; my ($width, $height) = ($pixbuf->get_height, $pixbuf->get_width); my $back_pixbuf = Gtk::Gdk::Pixbuf->new('rgb', 0, 8, $height, $width); |