diff options
Diffstat (limited to 'perl-install/ugtk3.pm')
-rw-r--r-- | perl-install/ugtk3.pm | 9 |
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; |