diff options
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-file.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 12c33cc12f..f2277b2aa4 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2006-10-01 Kjartan Maraas <kmaraas@gnome.org> + + * filter-file.c: (get_widget): Move a var into #ifndef #USE_FILECOOSER + to get rid of a warning. bug #332101. + 2006-09-25 Ushveen Kaur <kushveen@novell.com> ** Fixes bug #324882 diff --git a/filter/filter-file.c b/filter/filter-file.c index 13ba95cc03..d331c23a72 100644 --- a/filter/filter-file.c +++ b/filter/filter-file.c @@ -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); |