summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk3.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/ugtk3.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/ugtk3.pm')
-rw-r--r--perl-install/ugtk3.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index ea275e5ce..47b91b510 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -676,7 +676,7 @@ sub set_back_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->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);
$window->set_back_pixmap($pixmap, 0);
}