summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/ugtk3.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index 67b0b6880..59d8fae49 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -404,7 +404,7 @@ sub create_dialog {
gtkpack($dialog->get_child,
gtknew('HBox', children => [
if_($o_options->{stock},
- 0, Gtk3::Image->new_from_stock($o_options->{stock}, 'dialog'),
+ 0, Gtk3::Image->new_from_stock($o_options->{stock} || '', 'dialog'),
0, gtknew('Label', text => " "),
),
1, $o_options->{scroll} ? create_scrolled_window($text, [ 'never', 'automatic' ]) : $text,