summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-06 19:24:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-06 19:24:03 +0000
commit12e2b5c87a379eec81c5e2d80b67493689691082 (patch)
tree102f4af9d8bcd168175a4f4dddda3e5862d82c70 /perl-install/ugtk.pm
parent41ba541d10a02a787d5fe4974a9c389093c3b155 (diff)
downloaddrakx-12e2b5c87a379eec81c5e2d80b67493689691082.tar
drakx-12e2b5c87a379eec81c5e2d80b67493689691082.tar.gz
drakx-12e2b5c87a379eec81c5e2d80b67493689691082.tar.bz2
drakx-12e2b5c87a379eec81c5e2d80b67493689691082.tar.xz
drakx-12e2b5c87a379eec81c5e2d80b67493689691082.zip
make perl_checker happy
Diffstat (limited to 'perl-install/ugtk.pm')
-rw-r--r--perl-install/ugtk.pm2
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);