aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-09-09 00:45:12 +0800
committerChris Lahey <clahey@src.gnome.org>2000-09-09 00:45:12 +0800
commita88bdf9c4c10569043bf736f3b052dc5eccf5ab4 (patch)
tree72fe4479b00781f5981f5b2da5341725baca0cdc /calendar/gui/e-week-view.c
parent7c349155a53ccc3691037d02305c2cf594f2c15e (diff)
downloadgsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.tar
gsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.tar.gz
gsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.tar.bz2
gsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.tar.lz
gsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.tar.xz
gsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.tar.zst
gsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.zip
Fixed some warnings.
2000-09-08 Christopher James Lahey <clahey@helixcode.com> * cal-util/cal-recur.c, gui/e-day-view.c, gui/e-week-view.c, gui/event-editor.c, gui/getdate.y, gui/gncal-todo.c, gui/gnome-cal.c, gui/dialogs/task-editor.c: Fixed some warnings. svn path=/trunk/; revision=5264
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 81d723ac50..fbc3bfb731 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -866,7 +866,9 @@ obj_updated_cb (CalClient *client, const char *uid, gpointer data)
update the event fairly easily without changing the events arrays
or computing a new layout. */
if (e_week_view_find_event_from_uid (week_view, uid, &event_num)) {
-#warning "FIX ME"
+#ifndef NO_WARNINGS
+#warning "FIXME"
+#endif
event = &g_array_index (week_view->events, EWeekViewEvent,
event_num);
@@ -1312,6 +1314,7 @@ e_week_view_set_compress_weekend (EWeekView *week_view,
}
+#ifndef NO_WARNINGS
static gboolean
e_week_view_update_event_cb (EWeekView *week_view,
gint event_num,
@@ -1359,6 +1362,7 @@ e_week_view_update_event_cb (EWeekView *week_view,
return TRUE;
}
+#endif
/* This calls a given function for each event instance that matches the given