summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/mygtk3.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index 468d57420..d6cfd9025 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -350,6 +350,8 @@ sub _gtk__Image {
};
gtkval_register($w, $file_ref, $set);
$set->() if $$file_ref;
+ } elsif (my $pixbuf = delete $opts->{pixbuf}) {
+ $w->set_from_pixbuf($pixbuf);
}
$w;
}