aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-offline-handler.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-11-12 01:11:09 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-11-12 01:11:09 +0800
commit6f57f92231266e6b194cf630851d4ac481cd43c1 (patch)
treeef966ea2b1431f27282279a07729463b42592066 /calendar/gui/calendar-offline-handler.c
parent4ea4ea5d280f641bb5f3b6b3d1a8c05960e59bea (diff)
downloadgsoc2013-evolution-6f57f92231266e6b194cf630851d4ac481cd43c1.tar
gsoc2013-evolution-6f57f92231266e6b194cf630851d4ac481cd43c1.tar.gz
gsoc2013-evolution-6f57f92231266e6b194cf630851d4ac481cd43c1.tar.bz2
gsoc2013-evolution-6f57f92231266e6b194cf630851d4ac481cd43c1.tar.lz
gsoc2013-evolution-6f57f92231266e6b194cf630851d4ac481cd43c1.tar.xz
gsoc2013-evolution-6f57f92231266e6b194cf630851d4ac481cd43c1.tar.zst
gsoc2013-evolution-6f57f92231266e6b194cf630851d4ac481cd43c1.zip
use a standard calendar status (backend_cal_opened_online): ditto
2003-11-11 JP Rosevear <jpr@ximian.com> * gui/calendar-offline-handler.c (backend_cal_opened_offline): use a standard calendar status (backend_cal_opened_online): ditto * gui/alarm-notify/alarm-queue.c (cal_opened_cb): ditto * gui/gnome-cal.c (client_cal_opened_cb): ditto * gui/e-tasks.c (cal_opened_cb): ditto * gui/e-itip-control.c (default_server_started_cb): ditto * gui/e-cal-model.c (cal_opened_cb): ditto * gui/comp-editor-factory.c (cal_opened_cb): ditto svn path=/trunk/; revision=23286
Diffstat (limited to 'calendar/gui/calendar-offline-handler.c')
-rw-r--r--calendar/gui/calendar-offline-handler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/calendar-offline-handler.c b/calendar/gui/calendar-offline-handler.c
index bd8949bd00..231b7aab05 100644
--- a/calendar/gui/calendar-offline-handler.c
+++ b/calendar/gui/calendar-offline-handler.c
@@ -148,11 +148,11 @@ backend_cal_set_mode (ECal *client, ECalSetModeStatus status, CalMode mode, gpoi
}
static void
-backend_cal_opened_offline (ECal *client, ECalOpenStatus status, gpointer data)
+backend_cal_opened_offline (ECal *client, ECalendarStatus status, gpointer data)
{
CalendarOfflineHandler *offline_handler = data;
- if (status != E_CAL_OPEN_SUCCESS) {
+ if (status != E_CALENDAR_STATUS_OK) {
update_offline (offline_handler);
g_object_unref (client);
return;
@@ -163,9 +163,9 @@ backend_cal_opened_offline (ECal *client, ECalOpenStatus status, gpointer data)
}
static void
-backend_cal_opened_online (ECal *client, ECalOpenStatus status, gpointer data)
+backend_cal_opened_online (ECal *client, ECalendarStatus status, gpointer data)
{
- if (status != E_CAL_OPEN_SUCCESS) {
+ if (status != E_CALENDAR_STATUS_OK) {
g_object_unref (G_OBJECT (client));
return;
}