summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-06 16:47:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-06 16:47:00 +0000
commit3021e910718c4702abe831c7aa53e8a7bf8b135f (patch)
treee342014ee05783e78a37b18970bd6168610c30f8 /perl-install/ugtk.pm
parent371749c6a25c7aec0874e21d68ec212b2bf2dab7 (diff)
downloaddrakx-backup-do-not-use-3021e910718c4702abe831c7aa53e8a7bf8b135f.tar
drakx-backup-do-not-use-3021e910718c4702abe831c7aa53e8a7bf8b135f.tar.gz
drakx-backup-do-not-use-3021e910718c4702abe831c7aa53e8a7bf8b135f.tar.bz2
drakx-backup-do-not-use-3021e910718c4702abe831c7aa53e8a7bf8b135f.tar.xz
drakx-backup-do-not-use-3021e910718c4702abe831c7aa53e8a7bf8b135f.zip
please perl_checker:
- local'ize $_ before doing while (<...>) - use "foreach" instead of "for" - remove unneeded parentheses on the right side of infix if/foreach/unless
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 feee63e83..93001beb6 100644
--- a/perl-install/ugtk.pm
+++ b/perl-install/ugtk.pm
@@ -787,7 +787,7 @@ sub gtkcreate_xpm {
sub gtkcreate_png_pixbuf {
my ($f) = shift;
- die 'gdk-pixbuf library is not available' unless ($use_pixbuf);
+ die 'gdk-pixbuf library is not available' unless $use_pixbuf;
$f =~ /\.(png|jpg)$/ or $f .= '.png';
if ($f !~ /^\//) { -e "$_/$f" and $f = "$_/$f", last foreach icon_paths() }
Gtk::Gdk::Pixbuf->new_from_file($f) or die "gtkcreate_png: missing png file $f";