aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-11-25 21:09:37 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-11-25 21:09:37 +0800
commit717d3a2eed4efcd1fb0923b2a743a0daa17d2810 (patch)
tree750a1e4585f4ebac344af581113fb16f75f3a0ef /addressbook/gui
parentcda46fac58ad28c4b96fdece4bab0468bb4a668c (diff)
downloadgsoc2013-evolution-717d3a2eed4efcd1fb0923b2a743a0daa17d2810.tar.gz
gsoc2013-evolution-717d3a2eed4efcd1fb0923b2a743a0daa17d2810.tar.zst
gsoc2013-evolution-717d3a2eed4efcd1fb0923b2a743a0daa17d2810.zip
Use g_filename_to_uri() instead of just prefixing "file://" for Win32
2005-11-25 Tor Lillqvist <tml@novell.com> * gui/component/addressbook-component.c (ensure_sources): Use g_filename_to_uri() instead of just prefixing "file://" for Win32 portability. svn path=/trunk/; revision=30667
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-component.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index fef6f9b7f7..2332795736 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -88,7 +88,7 @@ ensure_sources (AddressbookComponent *component)
"addressbook", "local",
NULL);
- base_uri_proto = g_strconcat ("file://", base_uri, NULL);
+ base_uri_proto = g_filename_to_uri (base_uri, NULL, NULL);
groups = e_source_list_peek_groups (source_list);
if (groups) {