aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.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/gnome-cal.c
parent7c349155a53ccc3691037d02305c2cf594f2c15e (diff)
downloadgsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.tar.gz
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/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index aaea601a0c..2b1f14f1c6 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1039,6 +1039,7 @@ load_alarms (GnomeCalendar *gcal)
}
}
+#ifndef NO_WARNINGS
/* FIXME: rename this function */
static void
gnome_calendar_update_all (GnomeCalendar *gcal)
@@ -1050,6 +1051,7 @@ gnome_calendar_update_all (GnomeCalendar *gcal)
load_alarms (gcal);
gnome_calendar_tag_calendar (gcal, priv->date_navigator);
}
+#endif
/* Removes any queued alarms for the specified UID */
static void
@@ -1119,6 +1121,7 @@ cal_loaded_cb (CalClient *client, CalClientLoadStatus status, gpointer data)
priv = gcal->priv;
switch (priv->load_state) {
+ default:
/* FIXME */
}
}
@@ -1618,6 +1621,7 @@ gnome_calendar_get_selected_time_range (GnomeCalendar *gcal,
}
+#ifndef NO_WARNINGS
/* Callback used when an event editor finishes editing an object */
static void
released_event_object_cb (EventEditor *ee, const char *uid, gpointer data)
@@ -1639,6 +1643,7 @@ released_event_object_cb (EventEditor *ee, const char *uid, gpointer data)
g_hash_table_remove (priv->object_editor_hash, orig_uid);
g_free (orig_uid);
}
+#endif
/* Callback used when an event editor dialog is closed */
struct editor_closure