aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorFridrich Strba <FStrba@novell.com>2009-05-04 13:18:31 +0800
committerBharath Acharya <abharath@novell.com>2009-05-04 13:18:31 +0800
commitf4ecf2d62fd8766fa0b0c7d6483d9a583459267c (patch)
tree2b86f2c18979c8310af759dbab98c1d36d1b8274 /calendar
parentfcb97c2bd7c70c711e4ca201eacb871a34a07bf7 (diff)
downloadgsoc2013-evolution-f4ecf2d62fd8766fa0b0c7d6483d9a583459267c.tar
gsoc2013-evolution-f4ecf2d62fd8766fa0b0c7d6483d9a583459267c.tar.gz
gsoc2013-evolution-f4ecf2d62fd8766fa0b0c7d6483d9a583459267c.tar.bz2
gsoc2013-evolution-f4ecf2d62fd8766fa0b0c7d6483d9a583459267c.tar.lz
gsoc2013-evolution-f4ecf2d62fd8766fa0b0c7d6483d9a583459267c.tar.xz
gsoc2013-evolution-f4ecf2d62fd8766fa0b0c7d6483d9a583459267c.tar.zst
gsoc2013-evolution-f4ecf2d62fd8766fa0b0c7d6483d9a583459267c.zip
Assure that the filename <-> uri conversion are done with g_filename_{to,from}_uri and not by concatenating strings which is broken with win32-style uris
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/migration.c b/calendar/gui/migration.c
index 0f012d5f12..8a68e4ffdc 100644
--- a/calendar/gui/migration.c
+++ b/calendar/gui/migration.c
@@ -317,7 +317,7 @@ migrate_ical_folder_to_source (char *old_path, ESource *new_source, ECalSourceTy
ECal *old_ecal = NULL, *new_ecal = NULL;
ESource *old_source;
ESourceGroup *group;
- char *old_uri = g_strdup_printf ("file://%s", old_path);
+ char *old_uri = g_filename_to_uri (old_path, NULL, NULL);
GError *error = NULL;
gboolean retval = FALSE;