summaryrefslogtreecommitdiff
path: root/ui/gtk/main_80211_toolbar.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-07-05 01:59:00 +0000
committerGuy Harris <guy@alum.mit.edu>2012-07-05 01:59:00 +0000
commiteb38ae49b1a8bae7f8331f2f4f6ef99a0c8875c7 (patch)
treee75d48264b409172302a4f382fba94d622662ec5 /ui/gtk/main_80211_toolbar.c
parentc02d15688134b6c69bed44416e64661420fd140f (diff)
downloadwireshark-eb38ae49b1a8bae7f8331f2f4f6ef99a0c8875c7.tar.gz
From Pontus Fuchs:
Fix wireless toolbar The compilation fix for mac got it slightly wrong: s/HAVE_PCAP/HAVE_LIBPCAP/ svn path=/trunk/; revision=43567
Diffstat (limited to 'ui/gtk/main_80211_toolbar.c')
-rw-r--r--ui/gtk/main_80211_toolbar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/main_80211_toolbar.c b/ui/gtk/main_80211_toolbar.c
index 5e857cf2ba..c53a988158 100644
--- a/ui/gtk/main_80211_toolbar.c
+++ b/ui/gtk/main_80211_toolbar.c
@@ -149,7 +149,7 @@ void tb80211_update_freq_and_type(void)
tb80211_dont_set_chan = FALSE;
}
-#ifdef HAVE_PCAP
+#ifdef HAVE_LIBPCAP
/* Get currently selected channel type type enum */
static
int get_selected_channel_type(void)
@@ -385,7 +385,7 @@ ws80211_toolbar_new(void)
ti = gtk_tool_item_new();
gtk_widget_show(GTK_WIDGET (ti));
tb80211_freq_list_box = gtk_combo_box_text_new();
-#ifdef HAVE_PCAP
+#ifdef HAVE_LIBPCAP
g_signal_connect(tb80211_freq_list_box, "changed", G_CALLBACK(tb80211_set_chan_cb), NULL);
#else
gtk_widget_set_sensitive(GTK_WIDGET(tb80211_freq_list_box), FALSE);
@@ -397,7 +397,7 @@ ws80211_toolbar_new(void)
ti = gtk_tool_item_new();
gtk_widget_show(GTK_WIDGET (ti));
tb80211_chan_type_box = gtk_combo_box_text_new();
-#ifdef HAVE_PCAP
+#ifdef HAVE_LIBPCAP
g_signal_connect(tb80211_chan_type_box, "changed", G_CALLBACK(tb80211_set_chan_cb), NULL);
#else
gtk_widget_set_sensitive(GTK_WIDGET(tb80211_freq_list_box), FALSE);