summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index a31943072..224289a34 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -186,6 +186,7 @@ sub gtkset_default_fontset {
sub gtkctree_children {
my ($node) = @_;
my @l;
+ $node or return;
for (my $p = $node->row->children; $p; $p = $p->row->sibling) {
push @l, $p;
}