aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/packet_win.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-11 07:40:32 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-11 07:40:32 +0000
commitfeb5791d6ae22cca80342e84961273ddaaf52b6f (patch)
tree467547aec98e0b9c4656c1d3ff930b5a308bd1f7 /gtk/packet_win.c
parente592fa4a6bdf6342a790f488596c73d2332c9d27 (diff)
downloadwireshark-feb5791d6ae22cca80342e84961273ddaaf52b6f.tar.gz
wireshark-feb5791d6ae22cca80342e84961273ddaaf52b6f.tar.bz2
wireshark-feb5791d6ae22cca80342e84961273ddaaf52b6f.zip
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. svn path=/trunk/; revision=4521
Diffstat (limited to 'gtk/packet_win.c')
-rw-r--r--gtk/packet_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/packet_win.c b/gtk/packet_win.c
index 29ebccbcad..302eefa327 100644
--- a/gtk/packet_win.c
+++ b/gtk/packet_win.c
@@ -3,7 +3,7 @@
*
* Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
*
- * $Id: packet_win.c,v 1.30 2001/12/18 19:09:08 gram Exp $
+ * $Id: packet_win.c,v 1.31 2002/01/11 07:40:31 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -51,9 +51,9 @@
#include "packet.h"
#include "summary.h"
#include "file.h"
+#include "prefs.h"
#include "menu.h"
#include "../menu.h"
-#include "prefs_dlg.h"
#include "column.h"
#include "print.h"
#include "resolv.h"