diff options
Diffstat (limited to 'src/MTools/GUI/MImage.pm')
-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, |