summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 01:15:01 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:53:07 +0100
commitb803e12977379121da8f49f288337ab18a57e1e3 (patch)
tree9299296f1c6f87fcb238961a4287a1e9fb60abbd /perl-install
parentaa1b536467c9b11d9dd3ff3a0369ca5097642fec (diff)
downloaddrakx-b803e12977379121da8f49f288337ab18a57e1e3.tar
drakx-b803e12977379121da8f49f288337ab18a57e1e3.tar.gz
drakx-b803e12977379121da8f49f288337ab18a57e1e3.tar.bz2
drakx-b803e12977379121da8f49f288337ab18a57e1e3.tar.xz
drakx-b803e12977379121da8f49f288337ab18a57e1e3.zip
(set_back_pixbuf) drop it (now unused)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk3.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index a262d1b6e..2ec521eee 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -671,15 +671,6 @@ sub gtkset_property {
$w;
}
-sub set_back_pixbuf {
- my ($widget, $pixbuf) = @_;
- my $window = $widget->get_window;
- my ($width, $height) = ($pixbuf->get_width, $pixbuf->get_height);
- my $pixmap = Gtk3::Gdk::Pixmap->new($window, $width, $height, $window->get_depth);
- $pixbuf->render_to_drawable($pixmap, $widget->get_style->fg_gc('normal'), 0, 0, 0, 0, $width, $height, 'max', 0, 0);
- $window->set_back_pixmap($pixmap, 0);
-}
-
sub set_back_pixmap {
my ($w) = @_;
return if !$w->get_realized;