aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.c
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-02-18 05:30:09 +0800
committerSeth Alves <alves@src.gnome.org>2000-02-18 05:30:09 +0800
commit4cd07c4e96046f0151528ba585de8d4472e0fbe5 (patch)
tree099951cfea95af02f479cd8d5cb3dcec923ef05f /calendar/gui/calendar.c
parentc975d4ef24b4db28b19faf6d2b1e5d1956fe836c (diff)
downloadgsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.gz
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.bz2
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.lz
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.xz
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.zst
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.zip
moved CalendarFormat type def here
* cal-backend.h: moved CalendarFormat type def here * cal-backend.c (cal_backend_load): if extension suggests an ical file, attempt to load an iCal file. (cal_get_type_from_filename): returns CAL_ICAL if file extension is 'ics' or 'ifb', else returns CAL_VCAL (icalendar_calendar_load): moved this here from icalendar.c because it needs to call the static function add_object. svn path=/trunk/; revision=1831
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r--calendar/gui/calendar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index 0a690f344b..172ef3390e 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/calendar.c
@@ -21,6 +21,7 @@
#include "alarm.h"
#include "timeutil.h"
#include "../libversit/vcc.h"
+#include "icalendar.h"
#ifdef HAVE_TZNAME
extern char *tzname[2];
@@ -334,12 +335,11 @@ calendar_load (Calendar *cal, char *fname)
cleanVObject (vcal);
cleanStrTbl ();
break;
-#ifdef HAVE_LIBICAL
- hi;
+ /*
case CAL_ICAL:
icalendar_calendar_load (cal, fname);
break;
-#endif
+ */
default:
return "Unknown calendar format";
}