guy 2002/01/11 01:40:34 CST
Modified files:
gtk capture_prefs.c column_prefs.c
filter_prefs.c follow_dlg.c goto_dlg.c
gui_prefs.c help_dlg.c main.c menu.c
packet_win.c prefs_dlg.c prefs_dlg.h
print_dlg.c print_prefs.c proto_dlg.c
proto_draw.c stream_prefs.c tcp_graph.c
ui_util.c ui_util.h
Log:
Have a routine to create a scrolled window, set its vertical scrollbar
preference, and add it to the list of scrolled windows; call that
routine to create scrolled windows, rather than creating it and calling
other routines to do the other two operations.
As "set_scrollbar_placement_all()" and "set_ctree_styles_all()" always
set the styles to match the user's preference, don't have them take an
argument, have them just use the user's preference settings.
Get rid of unnecessary includes of "prefs_dlg.h", replacing them with
includes of "prefs.h" if necessary. Don't have "prefs_dlg.h" include
"prefs.h" - its sole purpose is to declare routines defined in
"prefs_dlg.c" - and add any additional includes of "prefs.h" this
requires.
Get rid of unnecessary includes of "prefs.h" and "gtkglobals.h".
Fix up white space.
Revision Changes Path
1.3 +1 -2 ethereal/gtk/capture_prefs.c
1.7 +2 -4 ethereal/gtk/column_prefs.c
1.33 +1 -2 ethereal/gtk/filter_prefs.c
1.17 +3 -7 ethereal/gtk/follow_dlg.c
1.13 +2 -4 ethereal/gtk/goto_dlg.c
1.30 +3 -5 ethereal/gtk/gui_prefs.c
1.20 +5 -12 ethereal/gtk/help_dlg.c
1.227 +3 -6 ethereal/gtk/main.c
1.59 +2 -1 ethereal/gtk/menu.c
1.31 +2 -2 ethereal/gtk/packet_win.c
1.37 +2 -4 ethereal/gtk/prefs_dlg.c
1.6 +2 -5 ethereal/gtk/prefs_dlg.h
1.28 +2 -2 ethereal/gtk/print_dlg.c
1.9 +20 -21 ethereal/gtk/print_prefs.c
1.9 +3 -7 ethereal/gtk/proto_dlg.c
1.44 +3 -7 ethereal/gtk/proto_draw.c
1.10 +2 -2 ethereal/gtk/stream_prefs.c
1.12 +3 -7 ethereal/gtk/tcp_graph.c
1.8 +47 -43 ethereal/gtk/ui_util.c
1.4 +11 -13 ethereal/gtk/ui_util.h