]> git.etc.gen.nz Git - picture-display.git/commitdiff
Use strict everywhere and fix one error that it revealed.
authorAndrew Ruthven <puck@catalyst.net.nz>
Mon, 22 Sep 2008 22:55:03 +0000 (10:55 +1200)
committerAndrew Ruthven <puck@dirk.wgtn.cat-it.co.nz>
Mon, 22 Sep 2008 22:55:03 +0000 (10:55 +1200)
lib/Display/Notifications.pm
lib/Display/Plugins/FSpot.pm

index 06f4744ab736831ba496490fa2cc94efed988ddd..c2270fd92c62be4078b2efe595bdfb1ad7548196 100644 (file)
@@ -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();
 }
index 8cdfe597738e393c95b797fc91ec7aeb68b7243b..96748457c04a49f8ce911fe203b78803e7c38aec 100644 (file)
@@ -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;