From 0bdc0efc46ec66a298306aae253225c702ed6bea Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Thu, 27 Jun 2013 17:10:50 +0000 Subject: get main_window_update out of the way... pass an update_cb to the capture_sync stuff ... as per the XXX comment removed from tshark.c this was a mess to keep the linker happy... I couldn't! I did this without even understanding whether calling main_window_update was realy necessary in most cases. I guess nothing or more specific update cbs would be best. svn path=/trunk/; revision=50188 --- ui/gtk/main_80211_toolbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/gtk/main_80211_toolbar.c') diff --git a/ui/gtk/main_80211_toolbar.c b/ui/gtk/main_80211_toolbar.c index 6b08d4cd16..0d244bc9a0 100644 --- a/ui/gtk/main_80211_toolbar.c +++ b/ui/gtk/main_80211_toolbar.c @@ -43,6 +43,7 @@ #include "ui/recent.h" #include "ui/gtk/old-gtk-compat.h" +#include "ui/ui_util.h" #include "ui/gtk/main_80211_toolbar.h" #include @@ -175,7 +176,7 @@ tb80211_do_set_channel(char *iface, int freq, int type) freq_s = g_strdup_printf("%d", freq); type_s = ws80211_chan_type_to_str(type); ret = sync_interface_set_80211_chan(iface, freq_s, type_s, - &data, &primary_msg, &secondary_msg); + &data, &primary_msg, &secondary_msg, main_window_update); /* Parse the error msg */ if (ret && primary_msg) { -- cgit v1.2.1