Use default bus name
authorEnrico Zini <enrico@enricozini.org>
Mon, 17 Aug 2009 13:51:32 +0000 (14:51 +0100)
committerEnrico Zini <enrico@enricozini.org>
Mon, 17 Aug 2009 13:51:32 +0000 (14:51 +0100)
src/clock.vala

index 8dec2e334c7fc242dd909f3627b9fe96a5ea2f16..083b566529fc88da258c6d083a0786f8f6493388 100644 (file)
@@ -105,8 +105,8 @@ public class Clock: zavai.Service
         if (alarms != null)
         {
             try {
-                otimed_alarm.ClearAlarm();
-                otimed_alarm.SetAlarm(alarms.data.deadline);
+                otimed_alarm.ClearAlarm((string)null);
+                otimed_alarm.SetAlarm((string)null, alarms.data.deadline);
             } catch (Error e) {
                 zavai.log.error("Cannot reschedule alarms: " + e.message);
             }