diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
commit | 0274669179600ac77475eed9870d2eab52c2cf14 (patch) | |
tree | 80f228649b670efac7f76ba5c0da5ed22a3a05c9 /calendar/gui/alarm-notify | |
parent | adb63f0f2156554a21dbfd8daba447001985e967 (diff) | |
download | gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.gz gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.bz2 gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.lz gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.xz gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.zst gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.zip |
Fix excessive whitespace.
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-notify-dialog.c | 6 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-notify.c | 1 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 7 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.h | 2 |
4 files changed, 0 insertions, 16 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c index 9e9aa003a4..e499e4332f 100644 --- a/calendar/gui/alarm-notify/alarm-notify-dialog.c +++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c @@ -34,8 +34,6 @@ #include "util.h" #include "e-util/e-util-private.h" - - enum { ALARM_DISPLAY_COLUMN, ALARM_SUMMARY_COLUMN, @@ -331,7 +329,6 @@ notified_alarms_dialog_new (void) g_signal_connect (G_OBJECT (an->snooze_time_hrs), "value_changed", G_CALLBACK (an_update_hrs_label), an); - na = g_new0 (AlarmNotificationsDialog, 1); na->treeview = an->treeview; @@ -340,7 +337,6 @@ notified_alarms_dialog_new (void) return na; } - /** * add_alarm_to_notified_alarms_dialog: * @na: Pointer to the dialog-info @@ -438,8 +434,6 @@ tree_selection_changed_cb (GtkTreeSelection *selection, gpointer user_data) } } - - static void fill_in_labels (AlarmNotify *an, const gchar *summary, const gchar *description, const gchar *location, time_t occur_start, time_t occur_end) diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c index e05c6e6571..62679bb2b6 100644 --- a/calendar/gui/alarm-notify/alarm-notify.c +++ b/calendar/gui/alarm-notify/alarm-notify.c @@ -53,7 +53,6 @@ static void alarm_notify_class_init (AlarmNotifyClass *klass); static void alarm_notify_init (AlarmNotify *an, AlarmNotifyClass *klass); static void alarm_notify_finalize (GObject *object); - static BonoboObjectClass *parent_class; diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index 180542eb6e..e06b75ba50 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -39,7 +39,6 @@ #include <libecal/e-cal-time-util.h> #include <libecal/e-cal-component.h> - #ifdef HAVE_LIBNOTIFY #include <libnotify/notify.h> #endif @@ -1345,8 +1344,6 @@ tray_icon_clicked_cb (GtkWidget *widget, GdkEventButton *event, gpointer user_da g_source_remove (tray_blink_id); tray_blink_id = -1; - - gtk_status_icon_set_visible (tray_icon, FALSE); g_object_unref (tray_icon); tray_icon = NULL; @@ -1407,7 +1404,6 @@ tray_icon_blink_cb (gpointer data) return tray_blink_countdown > 0; } - /* Add a new data to tray list */ static void @@ -1580,7 +1576,6 @@ popup_notification (time_t trigger, CompQueuedAlarms *cqa, e_cal_component_get_summary (comp, &text); e_cal_component_get_organizer (comp, &organiser); - if (text.value) summary = text.value; else @@ -1623,7 +1618,6 @@ popup_notification (time_t trigger, CompQueuedAlarms *cqa, g_free (time_str); g_free (str); - } #endif @@ -2057,7 +2051,6 @@ remove_comp_by_id (gpointer key, gpointer value, gpointer userdata) { return TRUE; } - /* Removes all the alarms queued for a particular calendar client */ static void remove_client_alarms (ClientAlarms *ca) diff --git a/calendar/gui/alarm-notify/alarm-queue.h b/calendar/gui/alarm-notify/alarm-queue.h index 9a2e11c472..c594e12a6b 100644 --- a/calendar/gui/alarm-notify/alarm-queue.h +++ b/calendar/gui/alarm-notify/alarm-queue.h @@ -28,12 +28,10 @@ #include <libecal/e-cal.h> - void alarm_queue_init (gpointer); void alarm_queue_done (void); void alarm_queue_add_client (ECal *client); void alarm_queue_remove_client (ECal *client, gboolean immediately); - #endif |