unused variable in filter-file.c
Kjartan Maraas <[email protected]> Tue, 29 Aug 2006 21:13:23 +0200
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <1156878803.32637.18.camel@rivendell> |
Ifdef out when USE_GTKFILECHOOSER is not defined. Cheers Kjartan _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
evolution-filter-cleanup-2006-08-29.patch
(text/x-patch, 677 B)
? 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);