aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-08-04 11:43:05 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-08-04 11:43:05 +0800
commite8f0450a7666a84605461871da37e9bb077ce589 (patch)
tree4763f303bd558bba8c65b8de7fa2114102cfdbe1
parent83d3bd3ba2d4cfc3b3de19a67d14d19209903646 (diff)
downloadgsoc2013-evolution-e8f0450a7666a84605461871da37e9bb077ce589.tar
gsoc2013-evolution-e8f0450a7666a84605461871da37e9bb077ce589.tar.gz
gsoc2013-evolution-e8f0450a7666a84605461871da37e9bb077ce589.tar.bz2
gsoc2013-evolution-e8f0450a7666a84605461871da37e9bb077ce589.tar.lz
gsoc2013-evolution-e8f0450a7666a84605461871da37e9bb077ce589.tar.xz
gsoc2013-evolution-e8f0450a7666a84605461871da37e9bb077ce589.tar.zst
gsoc2013-evolution-e8f0450a7666a84605461871da37e9bb077ce589.zip
Killed a warning.
2005-08-04 Srinivasa Ragavan <sragavan@novell.com> * em-utls.c (emu_update_save_path): Killed a warning. svn path=/trunk/; revision=29978
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/em-utils.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 5b7ea28b5e..f7a39e876e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-04 Srinivasa Ragavan <sragavan@novell.com>
+
+ * em-utls.c (emu_update_save_path): Killed a warning.
+
2005-08-03 Not Zed <NotZed@Ximian.com>
* em-folder-browser.c (emfb_set_folder): not here.
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 300e68fb0f..364c87cf6e 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -358,7 +358,7 @@ emu_get_save_filesel (GtkWidget *parent, const char *title, const char *name, Gt
static void
emu_update_save_path(const char *filename, gboolean path)
{
- char *dir = path ? filename : g_path_get_dirname(filename);
+ char *dir = path ? (char *)filename : g_path_get_dirname(filename);
GConfClient *gconf = gconf_client_get_default();
gconf_client_set_string(gconf, "/apps/evolution/mail/save_dir", dir, NULL);