aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-01-31 13:58:36 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-01-31 13:58:36 +0000
commit1d9fe2c424bc06f05e1f2f1fefb23067c3582559 (patch)
treea0a451fef9546d37b030091b1cee5fc971c0f905 /gtk
parentc9b96a9bfbc7b6e701d2234bdbc0a66d2f0e744d (diff)
Only define view_menu_auto_scroll_live_cb if HAVE_LIBPCAP
svn path=/trunk/; revision=35720
Diffstat (limited to 'gtk')
-rw-r--r--gtk/menus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/menus.c b/gtk/menus.c
index 3ef1476bf3..b41f4aba6f 100644
--- a/gtk/menus.c
+++ b/gtk/menus.c
@@ -825,6 +825,7 @@ view_menu_colorize_pkt_lst_cb(GtkAction *action _U_, gpointer user_data)
}
+#ifdef HAVE_LIBPCAP
static void
view_menu_auto_scroll_live_cb(GtkAction *action _U_, gpointer user_data _U_)
{
@@ -836,6 +837,7 @@ view_menu_auto_scroll_live_cb(GtkAction *action _U_, gpointer user_data _U_)
menu_auto_scroll_live_changed(GTK_CHECK_MENU_ITEM(widget)->active);
}
}
+#endif
static void
view_menu_color_conv_color1_cb(GtkAction *action _U_, gpointer user_data)