summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/mygtk3.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index 176610882..00d16c067 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -1639,15 +1639,6 @@ sub _pixbuf_render_alpha {
$new_pixbuf;
}
-sub pixmap_from_pixbuf {
- my ($widget, $pixbuf) = @_;
- my $window = $widget->get_window or internal_error("you can't use this function if the widget is not realised");
- 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);
- $pixmap;
-}
-
sub import_style_ressources() {
if (!$::isInstall) {
my $pl = Gtk3::CssProvider->new;