diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-08-17 21:04:32 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-08-17 21:04:32 +0200 |
commit | 2d6f6632e5d78415ccf038dc59a3107e1030147d (patch) | |
tree | 136eb5ad6577a54b4fad51d1125822168703e541 | |
parent | d4ce77fb23e30222f507b9e763b21fde7d897513 (diff) | |
download | drakpxelinux-2d6f6632e5d78415ccf038dc59a3107e1030147d.tar drakpxelinux-2d6f6632e5d78415ccf038dc59a3107e1030147d.tar.gz drakpxelinux-2d6f6632e5d78415ccf038dc59a3107e1030147d.tar.bz2 drakpxelinux-2d6f6632e5d78415ccf038dc59a3107e1030147d.tar.xz drakpxelinux-2d6f6632e5d78415ccf038dc59a3107e1030147d.zip |
fix a crash (mga#12626)
-rwxr-xr-x | drakpxelinux.pl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl index 7f2313f..c52542b 100755 --- a/drakpxelinux.pl +++ b/drakpxelinux.pl @@ -1136,9 +1136,7 @@ $treeview->signal_connect(button_press_event => sub { }); my @items = get_items(); -my $factory = Gtk3::ItemFactory->new('Gtk3::MenuBar', '<main>', undef); -$factory->create_items('menu', @items); -my $menu = $factory->get_widget('<main>'); +my $menu = Gtk3::MenuBar->new; my $okcancel = create_okcancel({ cancel_clicked => sub { ugtk3->exit }, |