diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-12 01:04:08 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:28:18 +0100 |
commit | ef918297c8f6ca912fb61028b59f4a049c08683c (patch) | |
tree | 2b44f3f1f4cfb1d3bc4cc30359352abc23c1087f /perl-install/mygtk3.pm | |
parent | d985ce0894028d2497ab840789877929d92f18a1 (diff) | |
download | drakx-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.pm | 2 |
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; } |