From 91fbd839c53520aeff7708471258c54745a7c051 Mon Sep 17 00:00:00 2001 From: freesource Date: Wed, 25 Jul 2001 04:58:43 +0000 Subject: [PATCH] Removed some fluff which was causing an undef. --- YardBox.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/YardBox.pm b/YardBox.pm index 89306ab..46df79e 100644 --- a/YardBox.pm +++ b/YardBox.pm @@ -1034,7 +1034,7 @@ sub yard_menu { sub save_as { # Will just use a dialog box. - my ($dialog,$error,$count,$pattern) = @_; + my ($error,$count,$pattern) = @_; if (not defined $save_as) { $save_as = Gtk::Dialog->new(); @@ -1054,7 +1054,7 @@ sub save_as { $save_as->vbox->pack_start( $entry, $false, $false, 0); $entry->show(); - my $label = Gtk::Label->new($dialog); + my $label = Gtk::Label->new(); $label->set_justify( 'left' ); $label->set_pattern("_________") if defined $pattern; $save_as->vbox->pack_start( $label, $false, $false, 2 ); @@ -1087,7 +1087,7 @@ sub save_as { } else { destroy $save_as; - save_as($dialog,$error,$count) if $error == 0; + save_as($error,$count) if $error == 0; }