summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/test.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 01:37:44 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:30:34 +0100
commitf71923b96a936c78b6387222e7c93a654d31536a (patch)
tree64cd4729106b274ad61e35fe5e21e5ecf7e01ca4 /lib/Xconfig/test.pm
parentb758380650c166aaccc98cfd5e739c18bb2228fc (diff)
downloaddrakx-kbd-mouse-x11-f71923b96a936c78b6387222e7c93a654d31536a.tar
drakx-kbd-mouse-x11-f71923b96a936c78b6387222e7c93a654d31536a.tar.gz
drakx-kbd-mouse-x11-f71923b96a936c78b6387222e7c93a654d31536a.tar.bz2
drakx-kbd-mouse-x11-f71923b96a936c78b6387222e7c93a654d31536a.tar.xz
drakx-kbd-mouse-x11-f71923b96a936c78b6387222e7c93a654d31536a.zip
get_height() => get_allocated_height()
Diffstat (limited to 'lib/Xconfig/test.pm')
-rw-r--r--lib/Xconfig/test.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/test.pm b/lib/Xconfig/test.pm
index 36b0e30..2bdd7cc 100644
--- a/lib/Xconfig/test.pm
+++ b/lib/Xconfig/test.pm
@@ -114,7 +114,7 @@ sub test {
my $root = gtkroot();
my $gc = Gtk3::Gdk::GC->new($root);
my $pixbuf = Gtk3::Gdk::Pixbuf->new_from_file("$::prefix/usr/share/mga/xfdrake/xfdrake-test-card.png");
- my ($w, $h) = ($pixbuf->get_width, $pixbuf->get_height);
+ my ($w, $h) = ($pixbuf->get_width, $pixbuf->get_allocated_height);
my $pixmap = Gtk3::Gdk::Pixmap->new($root, $w, $h, $root->get_depth);
$pixbuf->render_to_drawable($pixmap, $gc, 0, 0, 0, 0, $w, $h, 'none', 0, 0);
$root->set_back_pixmap($pixmap, 0);