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/iface_lists.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/iface_lists.h') diff --git a/ui/iface_lists.h b/ui/iface_lists.h index 8cc4888783..7930ab6c37 100644 --- a/ui/iface_lists.h +++ b/ui/iface_lists.h @@ -41,12 +41,12 @@ extern gint if_list_comparator_alph(const void *first_arg, const void *second_ar * Get the global interface list. Generate it if we haven't * done so already. */ -extern void fill_in_local_interfaces(void); +extern void fill_in_local_interfaces(void(*update_cb)(void)); /* * Update the global interface list. */ -extern void scan_local_interfaces(void); +extern void scan_local_interfaces(void (*update_cb)(void)); extern void hide_interface(gchar* new_hide); #endif /* HAVE_LIBPCAP */ -- cgit v1.2.1