aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-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-week-view.c
parentd397b9d2ce3d4fa076c9f6af98157c7ea92f9752 (diff)
downloadgsoc2013-evolution-483c3d3ffc0addb346611c0a544f214784e349b1.tar
gsoc2013-evolution-483c3d3ffc0addb346611c0a544f214784e349b1.tar.gz
gsoc2013-evolution-483c3d3ffc0addb346611c0a544f214784e349b1.tar.bz2
gsoc2013-evolution-483c3d3ffc0addb346611c0a544f214784e349b1.tar.lz
gsoc2013-evolution-483c3d3ffc0addb346611c0a544f214784e349b1.tar.xz
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-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 2bb1ce4e05..f7f35bd4e9 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -164,9 +164,11 @@ static void e_week_view_on_delete_appointment (GtkWidget *widget,
static void e_week_view_on_unrecur_appointment (GtkWidget *widget,
gpointer data);
+#ifndef NO_WARNINGS
static gboolean e_week_view_update_event_cb (EWeekView *week_view,
gint event_num,
gpointer data);
+#endif
static gboolean e_week_view_remove_event_cb (EWeekView *week_view,
gint event_num,
gpointer data);
@@ -997,7 +999,6 @@ void
e_week_view_update_event (EWeekView *week_view,
const gchar *uid)
{
- EWeekViewEvent *event;
gint event_num, num_days;
CalComponent *comp;
CalClientGetStatus status;
@@ -1038,7 +1039,9 @@ e_week_view_update_event (EWeekView *week_view,
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)) {
+#ifndef NO_WARNINGS
#warning "FIX ME"
+#endif
/* Do this the long way every time for now */
#if 0
event = &g_array_index (week_view->events, EWeekViewEvent,
@@ -1075,6 +1078,7 @@ e_week_view_update_event (EWeekView *week_view,
}
+#ifndef NO_WARNINGS
static gboolean
e_week_view_update_event_cb (EWeekView *week_view,
gint event_num,
@@ -1121,6 +1125,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