From b56317b12e3143172527d6fd9276ce57aa517a65 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 12 Feb 2004 23:24:41 +0000 Subject: (DrawPointAt) simplify draw_points call --- perl-install/standalone/drakclock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakclock') diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock index 8ed295472..a6e7cebe0 100755 --- a/perl-install/standalone/drakclock +++ b/perl-install/standalone/drakclock @@ -357,7 +357,7 @@ sub DrawPointAt { my ($pixmap, $black_gc, $nHour, $cx, $cy) = @_; my $dRadians = $nHour * $PI / 30; - Gtk2::Gdk::Drawable::draw_points($pixmap, $black_gc, + $pixmap->draw_points($black_gc, $cx + 95/100 * $radius * sin($dRadians), $cy - 95/100 * $radius * cos($dRadians)) } -- cgit v1.2.1