aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/toolbar.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2007-08-22 18:58:26 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2007-08-22 18:58:26 +0000
commit535f6af89cc3fa9f409559ef70746d8cfa8f9de2 (patch)
tree44fa2e03473959f11bb77bb3d1bc1117c1587c40 /gtk/toolbar.c
parent8043464c24e4f80da76b870ca8af035d51010e2c (diff)
autoscroll_button is not used if we don't HAVE_LIBPCAP so put it inside the #ifdef
svn path=/trunk/; revision=22589
Diffstat (limited to 'gtk/toolbar.c')
-rw-r--r--gtk/toolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/toolbar.c b/gtk/toolbar.c
index 58b46fac71..0294f385fc 100644
--- a/gtk/toolbar.c
+++ b/gtk/toolbar.c
@@ -153,13 +153,13 @@ static gboolean toolbar_init = FALSE;
#ifdef HAVE_LIBPCAP
static GtkWidget *capture_options_button, *new_button, *stop_button, *clear_button, *if_button;
-static GtkWidget *capture_filter_button;
+static GtkWidget *capture_filter_button, *autoscroll_button;
#endif /* HAVE_LIBPCAP */
static GtkWidget *open_button, *save_button, *save_as_button, *close_button, *reload_button;
static GtkWidget *print_button, *find_button, *history_forward_button, *history_back_button;
static GtkWidget *go_to_button, *go_to_top_button, *go_to_bottom_button;
static GtkWidget *display_filter_button;
-static GtkWidget *zoom_in_button, *zoom_out_button, *zoom_100_button, *colorize_button, *autoscroll_button, *resize_columns_button;
+static GtkWidget *zoom_in_button, *zoom_out_button, *zoom_100_button, *colorize_button, *resize_columns_button;
static GtkWidget *color_display_button, *prefs_button, *help_button;
#if GTK_MAJOR_VERSION >= 2