diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-12 02:56:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-13 20:28:58 +0800 |
commit | cd53ba990035bdb4861d9660917d457533d4ecb2 (patch) | |
tree | d9c9da2208f4a921c514497ea92d27e3d88481d1 /calendar/gui/alarm-notify/alarm-queue.c | |
parent | b2b27cfa1bfcd6efdac30d2745a6e8cd4e6de134 (diff) | |
download | gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.gz gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.bz2 gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.lz gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.xz gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.zst gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.zip |
Coding style cleanups.
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-queue.c')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index 9b397ca415..7dc63abf6f 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -187,7 +187,7 @@ message_push (Message *msg) * use a static ring-buffer so we can call this twice * in a printf without getting nonsense results. */ -d(#define DEBUGGING_ON) +d (#define DEBUGGING_ON) #ifdef DEBUGGING_ON static const gchar * e_ctime (const time_t *timep) @@ -482,7 +482,7 @@ add_component_alarms (ClientAlarms *ca, ECalComponentAlarms *alarms) ECalComponentAlarmInstance *instance; gpointer alarm_id; QueuedAlarm *qa; - d(time_t tnow = time(NULL)); + d (time_t tnow = time (NULL)); instance = l->data; @@ -594,7 +594,7 @@ load_alarms_for_today (ClientAlarms *ca) day_end = time_day_end_with_zone (now, zone); d(printf("%s:%d (load_alarms_for_today) - From %s to %s\n",__FILE__, __LINE__, - g_strdup (ctime (&from)), g_strdup (e_ctime(&day_end)))); + g_strdup (ctime (&from)), g_strdup (e_ctime (&day_end)))); load_alarms (ca, from, day_end); } @@ -1607,7 +1607,7 @@ popup_notification (time_t trigger, CompQueuedAlarms *cqa, } n = notify_notification_new (summary, body, "stock_appointment-reminder", NULL); - if (!notify_notification_show(n, NULL)) + if (!notify_notification_show (n, NULL)) g_warning ("Could not send notification to daemon\n"); /* create the private structure */ @@ -1659,7 +1659,7 @@ audio_notification (time_t trigger, CompQueuedAlarms *cqa, flag = 1; #ifdef HAVE_CANBERRA ca_context_play ( - ca_gtk_context_get(), 0, + ca_gtk_context_get (), 0, CA_PROP_MEDIA_FILENAME, filename, NULL); #endif } @@ -1986,7 +1986,7 @@ alarm_queue_add_async (struct _alarm_client_msg *msg) ca = lookup_client (client); if (ca) { /* We already have it. Unref the passed one*/ - g_object_unref(client); + g_object_unref (client); return; } |