summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk3.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/ugtk3.pm')
-rw-r--r--perl-install/ugtk3.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index 445c50780..24447d236 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -242,6 +242,7 @@ sub gtktreeview_children {
my @l;
$model or return;
my $p = $model->iter_children($iter);
+ $p or return;
while ($model->iter_next($p)) {
push @l, $p->copy;
}