diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2006-10-01 19:46:45 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-10-01 19:46:45 +0800 |
commit | 90dfa49bf6a4c4a5f27de7bd53bcbe4d9bf21eaa (patch) | |
tree | 70bed229a7fc5cfe60d93357ecfb185cfc84a6ae /filter | |
parent | e23919d822b87a995686b575fa646f9165ca6d10 (diff) | |
download | gsoc2013-evolution-90dfa49bf6a4c4a5f27de7bd53bcbe4d9bf21eaa.tar.gz gsoc2013-evolution-90dfa49bf6a4c4a5f27de7bd53bcbe4d9bf21eaa.tar.zst gsoc2013-evolution-90dfa49bf6a4c4a5f27de7bd53bcbe4d9bf21eaa.zip |
Move a var into #ifndef #USE_FILECOOSER to get rid of a warning. bug
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.
svn path=/trunk/; revision=32839
Diffstat (limited to 'filter')
-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); |