aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gnome-cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gnome-cal.c')
-rw-r--r--calendar/gnome-cal.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c
index e38f818c49..c6ca54331f 100644
--- a/calendar/gnome-cal.c
+++ b/calendar/gnome-cal.c
@@ -198,7 +198,12 @@ gnome_calendar_update_all (GnomeCalendar *cal, iCalObject *object, int flags)
void
gnome_calendar_load (GnomeCalendar *gcal, char *file)
{
- calendar_load (gcal->cal, file);
+ char *r;
+
+ if ((r = calendar_load (gcal->cal, file)) != NULL){
+ printf ("Error loading calendar: %s\n", r);
+ return;
+ }
gnome_calendar_update_all (gcal, NULL, 0);
}
left'>Commit message (Expand)AuthorAgeFilesLines * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-241-2/+2 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * Remove USE_REINPLACE from all categories starting with Bedwin2006-05-041-1/+0 * Update to 1.5maho2006-03-154-211/+229 * SHA256ifyedwin2006-01-221-0/+2 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * Make portlint happy by replacing space to tabmaho2004-05-071-3/+3 * 1) Silent version up without changing the version numbermaho2004-03-183-6/+6 * BROKEN: Checksum mismatchkris2004-02-221-0/+2 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-1/+1 * silent updates of archives:maho2003-12-283-4/+8 * Cosmetic fix: use %%DOCSDIR%% macro.osa2003-10-221-268/+268 * Silent changes to the port distfile which *not* have significantmaho2003-09-021-2/+2 * Add USE_XLIB=yes to compilemaho2003-07-311-0/+1