[evolution-patches] unused variable in filter-file.c



Ifdef out when USE_GTKFILECHOOSER is not defined.

Cheers
Kjartan

? filter.error
Index: filter-file.c
===================================================================
RCS file: /cvs/gnome/evolution/filter/filter-file.c,v
retrieving revision 1.25
diff -u -p -r1.25 filter-file.c
--- filter-file.c	30 Apr 2006 03:24:52 -0000	1.25
+++ filter-file.c	29 Aug 2006 19:12:31 -0000
@@ -287,7 +287,10 @@ static GtkWidget *
 get_widget (FilterElement *fe)
 {
 	FilterFile *file = (FilterFile *) fe;
-	GtkWidget *filewidget, *entry;
+	GtkWidget *filewidget;
+#ifndef USE_GTKFILECHOOSER
+	GtkWidget *entry;
+#endif
 
 #ifdef USE_GTKFILECHOOSER
 	filewidget = (GtkWidget *) gtk_file_chooser_button_new (_("Choose a file"), GTK_FILE_CHOOSER_ACTION_OPEN);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]