diff options
Diffstat (limited to 'camel/providers/MH/camel-mh-store.c')
-rw-r--r-- | camel/providers/MH/camel-mh-store.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/providers/MH/camel-mh-store.c b/camel/providers/MH/camel-mh-store.c index 2a1258a7b9..efdb2b86e9 100644 --- a/camel/providers/MH/camel-mh-store.c +++ b/camel/providers/MH/camel-mh-store.c @@ -75,15 +75,15 @@ camel_mh_store_get_type (void) /** These evil public functions are here for test only **/ void -camel_mh_store_set_toplevel_dir(CamelMhStore *store, GString *toplevel) +camel_mh_store_set_toplevel_dir (CamelMhStore *store, const gchar *toplevel) { - store->toplevel_dir = toplevel; + store->toplevel_dir = g_strdup (toplevel); CAMEL_STORE(store)->separator = '/'; } -GString * -camel_mh_store_get_toplevel_dir(CamelMhStore *store) +const gchar * +camel_mh_store_get_toplevel_dir (CamelMhStore *store) { return store->toplevel_dir; } |