From: Andrew Ruthven Date: Sun, 21 Sep 2008 21:33:49 +0000 (+1200) Subject: Remove redundant Glib::Timeout call. X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d96cba5724ef0cff2f2f8836faede6433334df8;p=picture-display.git Remove redundant Glib::Timeout call. --- diff --git a/lib/Display/Plugins/Clock.pm b/lib/Display/Plugins/Clock.pm index 5f19c55..fee6378 100644 --- a/lib/Display/Plugins/Clock.pm +++ b/lib/Display/Plugins/Clock.pm @@ -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())); }