diff options
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/em-utils.c | 2 |
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); |