aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-11-02 08:45:29 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-02 08:45:29 +0800
commit4eaf9e569967246e4e3628d0e7ec41bb12368434 (patch)
tree55c6abd3a7c22b03b8f828d835971ca3f53dba02 /camel/providers
parent60c8e14af488ebee0742f62eb0a09651ab6795ea (diff)
downloadgsoc2013-evolution-4eaf9e569967246e4e3628d0e7ec41bb12368434.tar
gsoc2013-evolution-4eaf9e569967246e4e3628d0e7ec41bb12368434.tar.gz
gsoc2013-evolution-4eaf9e569967246e4e3628d0e7ec41bb12368434.tar.bz2
gsoc2013-evolution-4eaf9e569967246e4e3628d0e7ec41bb12368434.tar.lz
gsoc2013-evolution-4eaf9e569967246e4e3628d0e7ec41bb12368434.tar.xz
gsoc2013-evolution-4eaf9e569967246e4e3628d0e7ec41bb12368434.tar.zst
gsoc2013-evolution-4eaf9e569967246e4e3628d0e7ec41bb12368434.zip
Use g_path_get_basename instead of g_strdup (g_basename (filename)).
2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-local-store.c (delete_folder): Use g_path_get_basename instead of g_strdup (g_basename (filename)). svn path=/trunk/; revision=18498
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/local/camel-local-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/local/camel-local-store.c b/camel/providers/local/camel-local-store.c
index 567b2b316a..7a9cd86de1 100644
--- a/camel/providers/local/camel-local-store.c
+++ b/camel/providers/local/camel-local-store.c
@@ -402,7 +402,7 @@ delete_folder(CamelStore *store, const char *folder_name, CamelException *ex)
fi = g_new0 (CamelFolderInfo, 1);
fi->full_name = g_strdup (folder_name);
- fi->name = g_strdup (g_basename (folder_name));
+ fi->name = g_path_get_basename (folder_name);
fi->url = g_strdup_printf ("%s%s", CAMEL_LOCAL_STORE(store)->toplevel_dir, folder_name);
fi->unread_message_count = -1;
camel_folder_info_build_path(fi, '/');