summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-17 15:38:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-17 15:38:50 +0000
commit9a14b4fe3bc212f3c12cc0c1cb246a5d842a1449 (patch)
tree7d1a974710e3bf9758da2347d79c794b3f4a3d69 /perl-install/mygtk2.pm
parent031e7394479223469172ec5423b07abf32604140 (diff)
downloaddrakx-backup-do-not-use-9a14b4fe3bc212f3c12cc0c1cb246a5d842a1449.tar
drakx-backup-do-not-use-9a14b4fe3bc212f3c12cc0c1cb246a5d842a1449.tar.gz
drakx-backup-do-not-use-9a14b4fe3bc212f3c12cc0c1cb246a5d842a1449.tar.bz2
drakx-backup-do-not-use-9a14b4fe3bc212f3c12cc0c1cb246a5d842a1449.tar.xz
drakx-backup-do-not-use-9a14b4fe3bc212f3c12cc0c1cb246a5d842a1449.zip
remove unneeded ->set_background
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 68f95e714..5d7212216 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -675,7 +675,6 @@ sub set_root_window_background {
my $gc = Gtk2::Gdk::GC->new($root);
my $color = rgb2color($r, $g, $b);
$gc->set_rgb_fg_color($color);
- $root->set_background($color);
my ($w, $h) = $root->get_size;
$root->draw_rectangle($gc, 1, 0, 0, $w, $h);
}