diff options
author | damien <damien@mandriva.com> | 2001-09-12 11:17:50 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-09-12 11:17:50 +0000 |
commit | 00f2b6666140dd22b4c6e3e4861f7d4cb6644bcc (patch) | |
tree | 12fef77051b877603c36e280d5e6ca1852b7fe49 /perl-install/my_gtk.pm | |
parent | 679dfd84cc5213c8387e5a2952832fb8fa787a2b (diff) | |
download | drakx-backup-do-not-use-00f2b6666140dd22b4c6e3e4861f7d4cb6644bcc.tar drakx-backup-do-not-use-00f2b6666140dd22b4c6e3e4861f7d4cb6644bcc.tar.gz drakx-backup-do-not-use-00f2b6666140dd22b4c6e3e4861f7d4cb6644bcc.tar.bz2 drakx-backup-do-not-use-00f2b6666140dd22b4c6e3e4861f7d4cb6644bcc.tar.xz drakx-backup-do-not-use-00f2b6666140dd22b4c6e3e4861f7d4cb6644bcc.zip |
table undef corrected
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r-- | perl-install/my_gtk.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm index f3bf5a713..7bd9ee1a8 100644 --- a/perl-install/my_gtk.pm +++ b/perl-install/my_gtk.pm @@ -539,8 +539,9 @@ sub _create_window($$) { my $inner = gtkadd(my $f_ = gtkset_shadow_type(new Gtk::Frame(undef), 'out'), my $f = gtkset_border_width(gtkset_shadow_type(new Gtk::Frame(undef), 'none'), 3) ); + my $table; if ($::isStandalone) { gtkadd($w, $inner) } else { - gtkadd($w, my $table = new Gtk::Table(2, 2, 0)); + gtkadd($w, $table = new Gtk::Table(2, 2, 0)); $table->attach( $inner, 0, 1, 0, 1, 1|4, 1|4, 0, 0); $table->attach( gtksignal_connect(gtkset_usize(new Gtk::DrawingArea, 7, 1), expose_event => sub { $_[0]->window->draw_rectangle($_[0]->style->bg_gc('normal'), 1, 0, 0, 7, 7); |