aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-06-21 00:37:42 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-06-21 00:37:42 +0000
commit536cc401ad7bccf420d3c1f0f4159fa5f010704b (patch)
treeb6cbe1f279b53e4fdf9a46ea251a05652e42f902
parent5a89cfdebf023544a30ff7c67d19e8813ba008cf (diff)
Try to use the gtk-compat macros correctly.
svn path=/trunk/; revision=43424
-rw-r--r--ui/gtk/main_80211_toolbar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/main_80211_toolbar.c b/ui/gtk/main_80211_toolbar.c
index cff0eb0abd..1373f2c43f 100644
--- a/ui/gtk/main_80211_toolbar.c
+++ b/ui/gtk/main_80211_toolbar.c
@@ -245,12 +245,11 @@ tb80211_iface_changed_cb(GtkWidget *widget, gpointer data _U_)
struct ws80211_interface *iface;
struct ws80211_iface_info iface_info;
gchar *active;
- GtkComboBox *combo = GTK_COMBO_BOX_TEXT(widget);
if (tb80211_dont_set_iface)
return;
- active = gtk_combo_box_text_get_active_text(combo);
+ active = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(widget));
if (!active || tb80211_dont_set_chan)
goto out_free;