summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-17 12:43:15 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:18 +0100
commitbd4da8d9900c122bf0c2b372adc78d298066f00d (patch)
tree1c96749764fbf8a60c23400d82b1734e04f65e2f /perl-install
parent197d74ac91c99274b772342636e6c3bc33cec3e5 (diff)
downloaddrakx-bd4da8d9900c122bf0c2b372adc78d298066f00d.tar
drakx-bd4da8d9900c122bf0c2b372adc78d298066f00d.tar.gz
drakx-bd4da8d9900c122bf0c2b372adc78d298066f00d.tar.bz2
drakx-bd4da8d9900c122bf0c2b372adc78d298066f00d.tar.xz
drakx-bd4da8d9900c122bf0c2b372adc78d298066f00d.zip
add support for set an image directly from a pixbuf
Diffstat (limited to 'perl-install')
-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;
}