From: Andrew Ruthven Date: Mon, 22 Sep 2008 22:55:03 +0000 (+1200) Subject: Use strict everywhere and fix one error that it revealed. X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9157cb691129489a9037a1bbe19ef5d872b2e70c;p=picture-display.git Use strict everywhere and fix one error that it revealed. --- diff --git a/lib/Display/Notifications.pm b/lib/Display/Notifications.pm index 06f4744..c2270fd 100644 --- a/lib/Display/Notifications.pm +++ b/lib/Display/Notifications.pm @@ -56,7 +56,7 @@ sub add { my $effect = Clutter::EffectTemplate->new_for_duration(1000, 'main::smoothstep_inc'); my $timeline = Clutter::Effect->fade($effect, $block, 255); - $kernel->delay_add(notifications_expire, $delay); + $kernel->delay_add('notifications_expire', $delay); $timeline->start(); } diff --git a/lib/Display/Plugins/FSpot.pm b/lib/Display/Plugins/FSpot.pm index 8cdfe59..9674845 100644 --- a/lib/Display/Plugins/FSpot.pm +++ b/lib/Display/Plugins/FSpot.pm @@ -4,6 +4,7 @@ use base ('Display::Plugin'); use Clutter; use POE; use POE::Component::EasyDBI; +use strict; my $default_f_spot_db = "$ENV{HOME}/.gnome2/f-spot/photos.db"; my $delay = 10;