diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-08-18 01:12:19 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-08-18 01:12:19 +0800 |
commit | 681d93a44e29135666f75a52e7d97ed7fbf16c9a (patch) | |
tree | 4070a95a29f4709fb3c6a4b21e0331561cf0134c /shell/e-local-storage.c | |
parent | 387ff45e5e9a55234db048b0ffc9312a2cb9d9ca (diff) | |
download | gsoc2013-evolution-681d93a44e29135666f75a52e7d97ed7fbf16c9a.tar.gz gsoc2013-evolution-681d93a44e29135666f75a52e7d97ed7fbf16c9a.tar.zst gsoc2013-evolution-681d93a44e29135666f75a52e7d97ed7fbf16c9a.zip |
utf_name should not be const as e_utf8_from_locale_string() returns an
2001-08-17 Jeffrey Stedfast <fejj@ximian.com>
* e-local-storage.c (setup_folder_as_stock): utf_name should not
be const as e_utf8_from_locale_string() returns an allocated
buffer.
svn path=/trunk/; revision=12158
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r-- | shell/e-local-storage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c index 566980a175..7322c40cd5 100644 --- a/shell/e-local-storage.c +++ b/shell/e-local-storage.c @@ -47,6 +47,7 @@ #include <libgnome/gnome-i18n.h> #include <libgnome/gnome-util.h> #include <gal/util/e-util.h> +#include <gal/widgets/e-unicode.h> #include "e-util/e-path.h" #include "e-local-folder.h" @@ -152,7 +153,7 @@ setup_folder_as_stock (ELocalStorage *local_storage, const char *name) { EFolder *folder; - const char *utf8_name; + char *utf8_name; folder = e_storage_get_folder (E_STORAGE (local_storage), path); if (folder == NULL) |