From 0af822221fc4d4bdd241a709ad92a516bbf1364d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 18 Dec 2005 08:28:01 +0000 Subject: Silence unused variable warning. 2005-12-18 Tor Lillqvist * e-dialog-utils.c (e_file_dialog_save_folder): Silence unused variable warning. svn path=/trunk/; revision=30855 --- e-util/ChangeLog | 5 +++++ e-util/e-dialog-utils.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 850206edd7..0ab1993a3b 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2005-12-18 Tor Lillqvist + + * e-dialog-utils.c (e_file_dialog_save_folder): Silence unused + variable warning. + 2005-12-17 Tor Lillqvist * Makefile.am (INCLUDES): Don't need EXTRA_GNOME_CFLAGS or diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c index 41f5edac22..63353a723e 100644 --- a/e-util/e-dialog-utils.c +++ b/e-util/e-dialog-utils.c @@ -397,7 +397,10 @@ char * e_file_dialog_save_folder (const char *title) { GtkWidget *selection; - char *path, *filename = NULL; +#ifndef USE_GTKFILECHOOSER + char *path; +#endif + char *filename = NULL; char *dir, *gdir = NULL; GConfClient *gconf; -- cgit v1.2.3