Use strict everywhere and fix one error that it revealed.
[picture-display.git] / lib / Display / Notifications.pm
index 06f4744..c2270fd 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();
 }