aboutsummaryrefslogtreecommitdiff
path: root/src/MTools/Anim
diff options
context:
space:
mode:
authorsaal2007-06-04 13:10:07 +0000
committersaal2007-06-04 13:10:07 +0000
commit026e394a8e78c52c9c3319408f1b1b66e88a745b (patch)
tree164dc38b7a10d061f95bc96c31667dc400b98c14 /src/MTools/Anim
parent1a38bcb3e8464d440f42341d3e67c2691ac44421 (diff)
downloadmtc-026e394a8e78c52c9c3319408f1b1b66e88a745b.zip
mtc-026e394a8e78c52c9c3319408f1b1b66e88a745b.tar.gz
mtc-026e394a8e78c52c9c3319408f1b1b66e88a745b.tar.bz2
mtc-026e394a8e78c52c9c3319408f1b1b66e88a745b.tar.xz
utilisation du constructeur de MObjet + suppression du use MTools::MObjet
Diffstat (limited to 'src/MTools/Anim')
-rw-r--r--src/MTools/Anim/MTranslator.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MTools/Anim/MTranslator.pm b/src/MTools/Anim/MTranslator.pm
index 320c17c..c50aef9 100644
--- a/src/MTools/Anim/MTranslator.pm
+++ b/src/MTools/Anim/MTranslator.pm
@@ -37,7 +37,6 @@ package MTools::Anim::MTranslator;
use strict;
use MTools;
-use MTools::MObjet;
use Anim;
use Anim::Pacing::Linear;
@@ -54,7 +53,7 @@ use Tk;
sub new {
my ($class, %options) = @_;
- my $self = {};
+ my $self = new MTools::MObjet ();
bless $self, $class;
$self -> recordProperty ('-visible', 0);