aboutsummaryrefslogtreecommitdiff
path: root/src/MTools/GUI/MCircle.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/MTools/GUI/MCircle.pm')
-rw-r--r--src/MTools/GUI/MCircle.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MTools/GUI/MCircle.pm b/src/MTools/GUI/MCircle.pm
index 35463ef..2fc5aa1 100644
--- a/src/MTools/GUI/MCircle.pm
+++ b/src/MTools/GUI/MCircle.pm
@@ -26,7 +26,6 @@ package MTools::GUI::MCircle;
use strict;
use MTools;
-use MTools::MObjet;
use vars qw / @ISA /;
BEGIN
@@ -36,7 +35,7 @@ BEGIN
sub new {
my ($class, $parent, $x, $y, $r, %options) = @_;
- my $self = {};
+ my $self = new MTools::MObjet ();
bless $self, $class;
$self -> {instance} = $zinc -> add('arc',
ref ($parent) eq '' ? $parent : $parent -> {instance},