summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-24 21:23:39 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-24 21:23:39 +0000
commit328721c712890d9a34fb302a6e5ca33faa446904 (patch)
treea4bbd2ab6c0de5eb5a05509c28d4cbc0605f108a
parentaf950b6c27c50b11c77f22b66aea2a101bf937e0 (diff)
downloadcontrol-center-328721c712890d9a34fb302a6e5ca33faa446904.tar
control-center-328721c712890d9a34fb302a6e5ca33faa446904.tar.gz
control-center-328721c712890d9a34fb302a6e5ca33faa446904.tar.bz2
control-center-328721c712890d9a34fb302a6e5ca33faa446904.tar.xz
control-center-328721c712890d9a34fb302a6e5ca33faa446904.zip
(new_pixbuf) fix inverted parameters (no issue since our images are
square but still...)
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index cfb6feaf..fe2d3384 100755
--- a/control-center
+++ b/control-center
@@ -1424,7 +1424,7 @@ sub rtl_gtkcreate_img {
sub new_pixbuf {
my ($pixbuf) = @_;
my ($height, $width) = ($pixbuf->get_height, $pixbuf->get_width);
- my $new_pixbuf = Gtk2::Gdk::Pixbuf->new('rgb', 1, 8, $height, $width);
+ my $new_pixbuf = Gtk2::Gdk::Pixbuf->new('rgb', 1, 8, $width, $height);
$new_pixbuf->fill(0x00000000); # transparent white
$width, $height, $new_pixbuf;
}