diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-19 01:16:46 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 11:00:45 +0100 |
commit | ea238637fa0c0f3df450301201d0f425cdfbb30f (patch) | |
tree | 2fe3a44fa2a55c6a63529a7d18227ba20b00801e | |
parent | 3c65131b92ac9c5075077469810388ee32cf8321 (diff) | |
download | drakx-net-ea238637fa0c0f3df450301201d0f425cdfbb30f.tar drakx-net-ea238637fa0c0f3df450301201d0f425cdfbb30f.tar.gz drakx-net-ea238637fa0c0f3df450301201d0f425cdfbb30f.tar.bz2 drakx-net-ea238637fa0c0f3df450301201d0f425cdfbb30f.tar.xz drakx-net-ea238637fa0c0f3df450301201d0f425cdfbb30f.zip |
fix "*** Gtk3::ComboBox::new: passed too many parameters"
-rwxr-xr-x | lib/network/drakroam.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); |