summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk3.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/mygtk3.pm')
-rw-r--r--perl-install/mygtk3.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index c3f48c456..468d57420 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -326,6 +326,7 @@ sub _gtk__Image {
if (!$w) {
$w = Gtk3::Image->new;
+ $w->set_alignment(@{delete $opts->{alignment}}) if exists $opts->{alignment};
$w->{format} = delete $opts->{format} if exists $opts->{format};
$w->set_from_stock(delete $opts->{stock}, 'button') if exists $opts->{stock};