aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index cc50032734..dbc628c6d3 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -365,10 +365,12 @@ static void e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget
guint info,
guint time,
EDayView *day_view);
+#ifndef NO_WARNINGS
static gboolean e_day_view_update_event_cb (EDayView *day_view,
gint day,
gint event_num,
gpointer data);
+#endif
static gboolean e_day_view_remove_event_cb (EDayView *day_view,
gint day,
gint event_num,
@@ -1162,7 +1164,9 @@ e_day_view_update_event (EDayView *day_view,
else
event = &g_array_index (day_view->events[day],
EDayViewEvent, event_num);
+#ifndef NO_WARNINGS
#warning "FIX ME"
+#endif
/* Do this the long way every time for now */
#if 0
if (ical_object_compare_dates (event->ico, ico)) {
@@ -1196,6 +1200,7 @@ e_day_view_update_event (EDayView *day_view,
}
+#ifndef NO_WARNINGS
static gboolean
e_day_view_update_event_cb (EDayView *day_view,
gint day,
@@ -1240,6 +1245,7 @@ e_day_view_update_event_cb (EDayView *day_view,
}
return TRUE;
}
+#endif
/* This calls a given function for each event instance that matches the given