aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-05-21 04:49:19 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-05-21 04:49:19 +0800
commitda7b86e7cfb3bd790a28cdd04058e37a39065fff (patch)
tree9e0c7dec4f467611e440df14ee52f3ced7ae9edf /calendar
parent3205d67d1a715d90a78b79f52d813506eb650408 (diff)
downloadgsoc2013-evolution-da7b86e7cfb3bd790a28cdd04058e37a39065fff.tar
gsoc2013-evolution-da7b86e7cfb3bd790a28cdd04058e37a39065fff.tar.gz
gsoc2013-evolution-da7b86e7cfb3bd790a28cdd04058e37a39065fff.tar.bz2
gsoc2013-evolution-da7b86e7cfb3bd790a28cdd04058e37a39065fff.tar.lz
gsoc2013-evolution-da7b86e7cfb3bd790a28cdd04058e37a39065fff.tar.xz
gsoc2013-evolution-da7b86e7cfb3bd790a28cdd04058e37a39065fff.tar.zst
gsoc2013-evolution-da7b86e7cfb3bd790a28cdd04058e37a39065fff.zip
proper look for figuring out if the object is on the server
2004-05-20 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (find_server): proper look for figuring out if the object is on the server svn path=/trunk/; revision=26022
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-itip-control.c12
2 files changed, 8 insertions, 9 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index a0abb76bb7..2da74f7200 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-20 JP Rosevear <jpr@ximian.com>
+
+ * gui/e-itip-control.c (find_server): proper look for figuring out
+ if the object is on the server
+
2004-05-20 JP Rosevear <jpr@novell.com>
* gui/tag-calendar.c (tag_calendar_by_comp): pass the client
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 53dd7fbec6..5027e3953c 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -189,20 +189,14 @@ find_server (EItipControl *itip, ECalComponent *comp)
ESource *source;
ECal *ecal;
icalcomponent *icalcomp;
- GError *error = NULL;
source = m->data;
ecal = start_calendar_server (itip, source, priv->type);
- if (ecal && e_cal_get_object (ecal, uid, NULL, &icalcomp, &error)) {
- if (error && error->code == E_CALENDAR_STATUS_OK) {
- icalcomponent_free (icalcomp);
- g_error_free (error);
+ if (ecal && e_cal_get_object (ecal, uid, NULL, &icalcomp, NULL)) {
+ icalcomponent_free (icalcomp);
- return ecal;
- }
-
- g_clear_error (&error);
+ return ecal;
}
}
}