diff options
author | ribet | 2007-08-23 14:35:10 +0000 |
---|---|---|
committer | ribet | 2007-08-23 14:35:10 +0000 |
commit | e77e58d465ef29b1d774fce706dfa0b960323323 (patch) | |
tree | b1a53c5b25d3f8a73688ca71bfc216d59d3f0eca /src/MTools | |
parent | c0b75d3074dd5b80f47b6ce1dbdf78e79c5fc872 (diff) | |
download | mtc-e77e58d465ef29b1d774fce706dfa0b960323323.zip mtc-e77e58d465ef29b1d774fce706dfa0b960323323.tar.gz mtc-e77e58d465ef29b1d774fce706dfa0b960323323.tar.bz2 mtc-e77e58d465ef29b1d774fce706dfa0b960323323.tar.xz |
Suppression d'un warning
Diffstat (limited to 'src/MTools')
-rw-r--r-- | src/MTools/GUI/MImage.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MTools/GUI/MImage.pm b/src/MTools/GUI/MImage.pm index 94a20b6..0495fa9 100644 --- a/src/MTools/GUI/MImage.pm +++ b/src/MTools/GUI/MImage.pm @@ -19,7 +19,7 @@ package MTools::GUI::MImage; # Encapsule la creation d'une image # Parametres : # * parent : pere de l'objet. -# * image : nom de l'image +# * image_name : nom de l'image # * %options : table de hash passee en parametre de la creation de l'objet zinc icon @@ -37,11 +37,11 @@ BEGIN } sub new { - my ($class, $parent, $image, %options) = @_; + my ($class, $parent, $image_name, %options) = @_; my $self = new MTools::MObjet (); bless $self, $class; - my $image = __getImage ($zinc, $image); + my $image = __getImage ($zinc, $image_name); $self -> {instance} = $zinc -> add('icon', minstance ($parent), -priority => 10, -image => $image, |