Wireshark-commits: [Wireshark-commits] rev 19798: /trunk/gtk/ /trunk/gtk/: main.c packet_win.c prot
Date: Sun, 05 Nov 2006 00:54:19 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=19798

User: guy
Date: 2006/11/05 12:54 AM

Log:
 Make the routines that manipulate the hex/text display window take a
 GtkWidget * as an argument, rather than a version-of-GTK+-dependent
 pointer; that way, we need fewer #ifdefs.
 
 Use WIDGET_SET_SIZE() instead of #ifdeffed code using
 gtk_widget_set_usize() or gtk_widget_set_size_request() -
 WIDGET_SET_SIZE() was created to encapsulate that GTK+ 1.2[.x] vs. 2.x
 difference.
 
 Make some variables not used outside gtk/main.c static.
 
 Clean up white space.
 
 Clean up handling of return value from load_airpcap() a bit.
 
 Use one big #ifdef HAVE_AIRPCAP/#endif for all the AirPcap stuff in
 gtk/main.c.
 
 Attach _U_ to the unused arguments to driver_warning_dialog_cb(), not to
 the arguments that are being used - and don't include it at all if
 HAVE_AIRPCAP isn't defined, as it's not used in that case.

Directory: /trunk/gtk/
  Changes    Path            Action
  +307 -371  main.c          Modified
  +4 -6      packet_win.c    Modified
  +39 -64    proto_draw.c    Modified
  +3 -22     proto_draw.h    Modified