summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-22 15:20:44 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:53:09 +0100
commit15768bb58de861fab57e8053d1b810fb50b469ff (patch)
tree02882a0c1133920e3ab912e723ea8e0b57b55f52 /perl-install
parentebe7e2a62dd6c364969049d9e7be9bca90c94f84 (diff)
downloaddrakx-15768bb58de861fab57e8053d1b810fb50b469ff.tar
drakx-15768bb58de861fab57e8053d1b810fb50b469ff.tar.gz
drakx-15768bb58de861fab57e8053d1b810fb50b469ff.tar.bz2
drakx-15768bb58de861fab57e8053d1b810fb50b469ff.tar.xz
drakx-15768bb58de861fab57e8053d1b810fb50b469ff.zip
fix calling Gtk3::Image->new_from_stock()
Diffstat (limited to 'perl-install')
-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,