aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-calendar/csv-format.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-03-22 22:46:36 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-03-22 22:46:36 +0800
commit9ab035ce81904f24cf11098329fe2d00b4096e63 (patch)
tree8fc270cdd37bc34f7164ed77eb3ddf830b6bc95f /plugins/save-calendar/csv-format.c
parenta874cf51d190d268a14d0be37428d9ed463da00f (diff)
downloadgsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.gz
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.bz2
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.lz
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.xz
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.zst
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.zip
Fixes #73541
2005-03-22222222222222222222222222222222222222222222 Chenthill Palanisamy <pchenthill@novell.com> Fixes #73541 * csv-format.c: (do_save_calendar_csv): * ical-format.c: (do_save_calendar_ical): * rdf-format.c: (do_save_calendar_rdf): Changed the cal e_cal_new to auth_new_from_source, so that the ecal has the auth function in it. svn path=/trunk/; revision=29089
Diffstat (limited to 'plugins/save-calendar/csv-format.c')
-rw-r--r--plugins/save-calendar/csv-format.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index 80a32d2386..2acf1eee27 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -36,6 +36,7 @@
#include <libedataserver/e-source.h>
#include <libedataserverui/e-source-selector.h>
#include <libecal/e-cal.h>
+#include "calendar/common/authentication.h"
#include <calendar/gui/e-cal-popup.h>
#include <libgnomevfs/gnome-vfs.h>
#include <string.h>
@@ -330,7 +331,7 @@ do_save_calendar_csv (FormatHandler *handler, EPlugin *ep, ECalPopupTargetSource
primary_source = e_source_selector_peek_primary_selection (target->selector);
/* open source client */
- source_client = e_cal_new (primary_source, type);
+ source_client = auth_new_cal_from_source (primary_source, type);
if (!e_cal_open (source_client, TRUE, &error)) {
display_error_message (gtk_widget_get_toplevel (GTK_WIDGET (target->selector)), error);
g_object_unref (source_client);