aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 679875bcfe..22b0ea1dda 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -304,7 +304,7 @@ emu_get_save_filesel (GtkWidget *parent, const char *title, const char *name)
{
GtkWidget *filesel;
const char *dir;
- char *realname, *filename, *gdir;
+ char *realname, *gdir;
GConfClient *gconf;
#ifdef USE_GTKFILECHOOSER
@@ -316,6 +316,8 @@ emu_get_save_filesel (GtkWidget *parent, const char *title, const char *name)
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (filesel), GTK_RESPONSE_OK);
#else
+ char *filename;
+
filesel = gtk_file_selection_new (title);
#endif