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 5f19c55..fee6378 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()));
 }