aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/comp-editor-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/comp-editor-factory.c')
-rw-r--r--calendar/gui/comp-editor-factory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c
index 1bb14c00f9..05a36f62f8 100644
--- a/calendar/gui/comp-editor-factory.c
+++ b/calendar/gui/comp-editor-factory.c
@@ -32,6 +32,7 @@
#include "e-comp-editor-registry.h"
#include "comp-editor-factory.h"
#include "comp-util.h"
+#include "common/authentication.h"
#include "dialogs/event-editor.h"
#include "dialogs/task-editor.h"
@@ -496,7 +497,7 @@ open_client (CompEditorFactory *factory, const char *uristr)
priv = factory->priv;
/* FIXME get the type here */
- client = e_cal_new_from_uri (uristr, E_CAL_SOURCE_TYPE_LAST);
+ client = auth_new_cal_from_uri (uristr, E_CAL_SOURCE_TYPE_LAST);
if (!client)
return NULL;