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 e6075101c6..1bb14c00f9 100644
--- a/calendar/gui/comp-editor-factory.c
+++ b/calendar/gui/comp-editor-factory.c
@@ -495,7 +495,8 @@ open_client (CompEditorFactory *factory, const char *uristr)
priv = factory->priv;
- client = e_cal_new_from_uri (uristr, CALOBJ_TYPE_ANY);
+ /* FIXME get the type here */
+ client = e_cal_new_from_uri (uristr, E_CAL_SOURCE_TYPE_LAST);
if (!client)
return NULL;