summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 16:35:02 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-03 12:43:25 +0100
commitac2be294b2f7f774d4d08401417db243683e27c8 (patch)
tree94f9f534b75901a22f29a3a1b32573f56ef8f492
parente4e9381dfb2332728e151f869a32dd309d4c4e32 (diff)
downloaddrakpxelinux-ac2be294b2f7f774d4d08401417db243683e27c8.tar
drakpxelinux-ac2be294b2f7f774d4d08401417db243683e27c8.tar.gz
drakpxelinux-ac2be294b2f7f774d4d08401417db243683e27c8.tar.bz2
drakpxelinux-ac2be294b2f7f774d4d08401417db243683e27c8.tar.xz
drakpxelinux-ac2be294b2f7f774d4d08401417db243683e27c8.zip
fix $model->iter_next($iter) usage with Gtk3
-rwxr-xr-xdrakpxelinux.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl
index 27a7189..c00608b 100755
--- a/drakpxelinux.pl
+++ b/drakpxelinux.pl
@@ -224,7 +224,7 @@ sub update_pxelinux_conf_from_treeview {
} else {
push @{$pxelinux_conf->{entries}}, $entry;
}
- $iter = $model->iter_next($iter);
+ last if !$model->iter_next($iter);
}
}