summaryrefslogtreecommitdiffstats
path: root/lib/network/drakroam.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-19 01:16:46 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 11:00:45 +0100
commitea238637fa0c0f3df450301201d0f425cdfbb30f (patch)
tree2fe3a44fa2a55c6a63529a7d18227ba20b00801e /lib/network/drakroam.pm
parent3c65131b92ac9c5075077469810388ee32cf8321 (diff)
downloaddrakx-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"
Diffstat (limited to 'lib/network/drakroam.pm')
-rwxr-xr-xlib/network/drakroam.pm2
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);