[evolution-kolab] ECalBackendKolab: use GList acessor functions
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab] ECalBackendKolab: use GList acessor functions
- Date: Tue, 11 Sep 2012 15:46:44 +0000 (UTC)
commit b090adca4f19bbd9b09d42f23d7bd4e763d46083
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Tue Sep 11 10:50:15 2012 +0200
ECalBackendKolab: use GList acessor functions
src/calendar/e-cal-backend-kolab.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-kolab.c b/src/calendar/e-cal-backend-kolab.c
index 131ab37..69bb314 100644
--- a/src/calendar/e-cal-backend-kolab.c
+++ b/src/calendar/e-cal-backend-kolab.c
@@ -821,7 +821,7 @@ cal_backend_kolab_create_objects (ECalBackendSync *backend,
e_return_data_cal_error_if_fail (uids != NULL && *uids == NULL, InvalidArg);
e_return_data_cal_error_if_fail (new_components != NULL && *new_components == NULL, InvalidArg);
- if (calobjs->next) {
+ if (g_slist_next (calobjs) != NULL) {
g_propagate_error (error, e_data_cal_create_error (UnsupportedMethod, _("Kolab does not support bulk additions")));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]