summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-12 01:04:08 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:18 +0100
commitef918297c8f6ca912fb61028b59f4a049c08683c (patch)
tree2b44f3f1f4cfb1d3bc4cc30359352abc23c1087f /perl-install/mygtk3.pm
parentd985ce0894028d2497ab840789877929d92f18a1 (diff)
downloaddrakx-ef918297c8f6ca912fb61028b59f4a049c08683c.tar
drakx-ef918297c8f6ca912fb61028b59f4a049c08683c.tar.gz
drakx-ef918297c8f6ca912fb61028b59f4a049c08683c.tar.bz2
drakx-ef918297c8f6ca912fb61028b59f4a049c08683c.tar.xz
drakx-ef918297c8f6ca912fb61028b59f4a049c08683c.zip
perlish ->style() => ->get_style()
Diffstat (limited to 'perl-install/mygtk3.pm')
-rw-r--r--perl-install/mygtk3.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index ffcea32c7..c3f48c456 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -1582,7 +1582,7 @@ sub pixmap_from_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->style->fg_gc('normal'), 0, 0, 0, 0, $width, $height, 'max', 0, 0);
+ $pixbuf->render_to_drawable($pixmap, $widget->get_style->fg_gc('normal'), 0, 0, 0, 0, $width, $height, 'max', 0, 0);
$pixmap;
}