aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-07 08:47:24 +0800
committerDan Winship <danw@src.gnome.org>2000-07-07 08:47:24 +0800
commit443433db5618ebaa0bd8c0314fa5ce9978640003 (patch)
tree11cc42dd7243d2083050a698554107705509614a /mail/folder-browser.c
parent67a7089ea2b6034fb883b0bf06066a7c6f3ef2f9 (diff)
downloadgsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.gz
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.bz2
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.lz
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.xz
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.zst
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.zip
fix warnings.
* folder-browser-factory.c, folder-browser.c, mail-ops.c, message-list.c: fix warnings. svn path=/trunk/; revision=3931
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index ccc497c6bf..f2818e0938 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -81,12 +81,13 @@ mail_uri_to_folder (const char *name)
/* FIXME: do this properly rather than hardcoding */
#warning "Find a way not to hardcode vfolder source"
{
+ char *source_name;
CamelFolder *source_folder;
extern char *evolution_dir;
- name = g_strdup_printf ("file://%s/local/Inbox", evolution_dir);
- source_folder = mail_uri_to_folder (name);
- g_free (name);
+ source_name = g_strdup_printf ("file://%s/local/Inbox", evolution_dir);
+ source_folder = mail_uri_to_folder (source_name);
+ g_free (source_name);
if (source_folder)
camel_vee_folder_add_folder (folder, source_folder);
}