2007-02-27 Ross Burton <ross@openedhand.com>
* libecal/e-cal.c:
Use consistent URIs when opening calendars by using
e_source_new_with_absolute_uri() in e_cal_new_from_uri (#333507).
svn path=/trunk/; revision=7634
+2007-02-27 Ross Burton <ross@openedhand.com>
+
+ * libecal/e-cal.c:
+ Use consistent URIs when opening calendars by using
+ e_source_new_with_absolute_uri() in e_cal_new_from_uri (#333507).
+
2007-02-12 Kjartan Maraas <kmaraas@gnome.org>
* libecal/e-cal.c: (process_detached_instances): Don't crash
ECal *
e_cal_new_from_uri (const gchar *uri, ECalSourceType type)
{
- ESourceGroup *group;
ESource *source;
ECal *cal;
- group = e_source_group_new ("", uri);
- source = e_source_new ("", "");
- e_source_set_group (source, group);
-
+ source = e_source_new_with_absolute_uri ("", uri);
cal = e_cal_new (source, type);
g_object_unref (source);
- g_object_unref (group);
return cal;
}