diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2013-06-27 17:10:50 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2013-06-27 17:10:50 +0000 |
commit | 0bdc0efc46ec66a298306aae253225c702ed6bea (patch) | |
tree | 1d6db93f3252994330777f123cb3d038518080e9 /ui/gtk/main_80211_toolbar.c | |
parent | b450609a5561db9ddfc23b41c742979f5c4b3a32 (diff) | |
download | wireshark-0bdc0efc46ec66a298306aae253225c702ed6bea.tar.gz |
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
Diffstat (limited to 'ui/gtk/main_80211_toolbar.c')
-rw-r--r-- | ui/gtk/main_80211_toolbar.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <ws80211_utils.h> @@ -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) { |