ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] rev 43518: /trunk/ui/gtk/ /trunk/ui/gtk/: main.c main.h main

Date: Thu, 28 Jun 2012 08:25:18 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43518

User: guy
Date: 2012/06/28 01:25 AM

Log:
 Make scan_local_interfaces() local to ui/gtk/main.c; widgets/windows
 that want a list of interfaces should either call
 fill_in_local_interfaces() to make sure the list has been populated at
 least once or refresh_local_interface_lists() if they want the list to
 be rescanned.
 
 Also make get_interface_type() local to ui/gtk/main.c, as it's not
 called from outside ui/gtk/main.c.
 
 Don't declare fill_in_local_interfaces() or hide_interface() unless we
 have pcap - we don't define them unless we have pcap.

Directory: /trunk/ui/gtk/
  Changes    Path              Action
  +421 -422  main.c            Modified
  +3 -11     main.h            Modified
  +1 -4      main_welcome.c    Modified