aboutsummaryrefslogtreecommitdiff
path: root/src/MTools/GUI/MCurve.pm
diff options
context:
space:
mode:
authorsaal2007-06-04 13:10:07 +0000
committersaal2007-06-04 13:10:07 +0000
commit026e394a8e78c52c9c3319408f1b1b66e88a745b (patch)
tree164dc38b7a10d061f95bc96c31667dc400b98c14 /src/MTools/GUI/MCurve.pm
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/GUI/MCurve.pm')
-rw-r--r--src/MTools/GUI/MCurve.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MTools/GUI/MCurve.pm b/src/MTools/GUI/MCurve.pm
index 3458e49..e96ec6e 100644
--- a/src/MTools/GUI/MCurve.pm
+++ b/src/MTools/GUI/MCurve.pm
@@ -26,7 +26,6 @@ package MTools::GUI::MCurve;
use strict;
use MTools;
-use MTools::MObjet;
use vars qw / @ISA /;
BEGIN
@@ -36,7 +35,7 @@ BEGIN
sub new {
my ($class, $parent, $coords, %options) = @_;
- my $self = {};
+ my $self = new MTools::MObjet ();
bless $self, $class;
$self -> {instance} = $zinc -> add('curve',
ref ($parent) eq '' ? $parent : $parent -> {instance},