diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-14 23:26:22 +0800 |
commit | 374bd42f69aca2e132fd854c9619f3d7491f1f96 (patch) | |
tree | bf50b5daa8664d4d793b82f6b6ec59d0686553e0 /calendar/gui/alarm-notify | |
parent | 573eb0880a80e04737cb4497931ca6588272686e (diff) | |
download | gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.gz gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.bz2 gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.lz gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.xz gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.zst gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.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 e4aca02699..052340fbca 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 @@ -1347,8 +1346,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; @@ -1409,7 +1406,6 @@ tray_icon_blink_cb (gpointer data) return tray_blink_countdown > 0; } - /* Add a new data to tray list */ static void @@ -1582,7 +1578,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 @@ -1625,7 +1620,6 @@ popup_notification (time_t trigger, CompQueuedAlarms *cqa, g_free (time_str); g_free (str); - } #endif @@ -2059,7 +2053,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 |