aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-backend-imc.c
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-08-03 10:34:01 +0800
committerSeth Alves <alves@src.gnome.org>2000-08-03 10:34:01 +0800
commit7dd58960fe06baa4e6fea07596a2a8181fac0733 (patch)
tree1aa8072499ebdc69c58490a0562b25b86e375b26 /calendar/pcs/cal-backend-imc.c
parent6cdd5bd58ede530cf7f07eae911f5513b23d1a68 (diff)
downloadgsoc2013-evolution-7dd58960fe06baa4e6fea07596a2a8181fac0733.tar
gsoc2013-evolution-7dd58960fe06baa4e6fea07596a2a8181fac0733.tar.gz
gsoc2013-evolution-7dd58960fe06baa4e6fea07596a2a8181fac0733.tar.bz2
gsoc2013-evolution-7dd58960fe06baa4e6fea07596a2a8181fac0733.tar.lz
gsoc2013-evolution-7dd58960fe06baa4e6fea07596a2a8181fac0733.tar.xz
gsoc2013-evolution-7dd58960fe06baa4e6fea07596a2a8181fac0733.tar.zst
gsoc2013-evolution-7dd58960fe06baa4e6fea07596a2a8181fac0733.zip
call save (cbimc) after setting the pilot id and status.
* pcs/cal-backend-imc.c (cal_backend_imc_update_pilot_id): call save (cbimc) after setting the pilot id and status. svn path=/trunk/; revision=4500
Diffstat (limited to 'calendar/pcs/cal-backend-imc.c')
-rw-r--r--calendar/pcs/cal-backend-imc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/pcs/cal-backend-imc.c b/calendar/pcs/cal-backend-imc.c
index 29015a70cc..d50fc0d347 100644
--- a/calendar/pcs/cal-backend-imc.c
+++ b/calendar/pcs/cal-backend-imc.c
@@ -94,6 +94,9 @@ static void cal_backend_imc_update_pilot_id (CalBackend *backend,
unsigned long int pilot_status);
+
+static void notify_update (CalBackendIMC *cbimc, const char *uid);
+
static CalBackendClass *parent_class;
@@ -1028,6 +1031,10 @@ cal_backend_imc_update_pilot_id (CalBackend *backend,
obj->pilot_id = pilot_id;
obj->pilot_status = pilot_status;
+
+ save (cbimc);
+
+ notify_update (cbimc, uid);
}