aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-25 03:03:41 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-25 03:03:41 +0800
commit483c3d3ffc0addb346611c0a544f214784e349b1 (patch)
tree874d79b9b9af67eafa5c9e23edf15ff00bbd3837 /calendar/gui/e-day-view.c
parentd397b9d2ce3d4fa076c9f6af98157c7ea92f9752 (diff)
downloadgsoc2013-evolution-483c3d3ffc0addb346611c0a544f214784e349b1.tar.gz
gsoc2013-evolution-483c3d3ffc0addb346611c0a544f214784e349b1.tar.zst
gsoc2013-evolution-483c3d3ffc0addb346611c0a544f214784e349b1.zip
Fixed some warnings.
2000-08-24 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-commands.c, gui/e-day-view.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/prop.c: Fixed some warnings. svn path=/trunk/; revision=5009
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