From ea238637fa0c0f3df450301201d0f425cdfbb30f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 19 Nov 2013 01:16:46 +0100 Subject: fix "*** Gtk3::ComboBox::new: passed too many parameters" --- lib/network/drakroam.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm index f7b0937..b972b19 100755 --- a/lib/network/drakroam.pm +++ b/lib/network/drakroam.pm @@ -58,7 +58,7 @@ sub create_drakroam_gui { my ($droam, $_dbus, $title, $icon) = @_; $droam->{gui}{model} = Gtk3::ListStore->new('Gtk3::Gdk::Pixbuf', 'Glib::String'); - $droam->{gui}{connections_combo} = Gtk3::ComboBox->new($droam->{gui}{model}); + $droam->{gui}{connections_combo} = Gtk3::ComboBox->new_with_model($droam->{gui}{model}); my $pix_r = Gtk3::CellRendererPixbuf->new; $droam->{gui}{connections_combo}->pack_start($pix_r, 0,); $droam->{gui}{connections_combo}->add_attribute($pix_r, pixbuf => 0); -- cgit v1.2.1