]> git.etc.gen.nz Git - picture-display.git/commitdiff
Remove redundant Glib::Timeout call.
authorAndrew Ruthven <andrew@etc.gen.nz>
Sun, 21 Sep 2008 21:33:49 +0000 (09:33 +1200)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Sun, 21 Sep 2008 21:33:49 +0000 (09:33 +1200)
lib/Display/Plugins/Clock.pm

index 5f19c55ba562c9c43cd81b070a3c2d9b90e21220..fee6378ccf90086741e78c97ed5a9b4caac030a8 100644 (file)
@@ -20,7 +20,6 @@ sub display {
 
   $self->{'clock'}->set_text(strftime("%H:%M %d/%m/%Y", localtime(time)));
 
-  Glib::Timeout->add_seconds(60 - strftime(%s, localtime()), $self->can('display'), $self);
   $self->{'kernel'}->delay_set(clock_display, 60 - strftime(%s, localtime()));
 }