diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-01-16 13:08:32 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-01-16 13:08:32 +0000 |
commit | cc29fc49a0427da3225c4d77f95827bed24073f7 (patch) | |
tree | fd86687bc4af7767098267052df70f9bff24d63b /perl-install/my_gtk.pm | |
parent | 30c83c5730279a3f2279b515c416a283e0c50d82 (diff) | |
download | drakx-backup-do-not-use-cc29fc49a0427da3225c4d77f95827bed24073f7.tar drakx-backup-do-not-use-cc29fc49a0427da3225c4d77f95827bed24073f7.tar.gz drakx-backup-do-not-use-cc29fc49a0427da3225c4d77f95827bed24073f7.tar.bz2 drakx-backup-do-not-use-cc29fc49a0427da3225c4d77f95827bed24073f7.tar.xz drakx-backup-do-not-use-cc29fc49a0427da3225c4d77f95827bed24073f7.zip |
no_comment
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r-- | perl-install/my_gtk.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm index 84f285ba0..988045458 100644 --- a/perl-install/my_gtk.pm +++ b/perl-install/my_gtk.pm @@ -143,10 +143,7 @@ sub gtkroot { sub gtkcolor($$$) { my ($r, $g, $b) = @_; - my $color = bless {}, 'Gtk::Gdk::Color'; - $color->red ($r); - $color->green($g); - $color->blue ($b); + my $color = bless { red => $r, green => $g, blue => $b }, 'Gtk::Gdk::Color'; gtkroot()->get_colormap->color_alloc($color); } |