diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-11 07:40:32 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-11 07:40:32 +0000 |
commit | feb5791d6ae22cca80342e84961273ddaaf52b6f (patch) | |
tree | 467547aec98e0b9c4656c1d3ff930b5a308bd1f7 /gtk/goto_dlg.c | |
parent | e592fa4a6bdf6342a790f488596c73d2332c9d27 (diff) | |
download | wireshark-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/goto_dlg.c')
-rw-r--r-- | gtk/goto_dlg.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/goto_dlg.c b/gtk/goto_dlg.c index 3ee5576317..6fde232e79 100644 --- a/gtk/goto_dlg.c +++ b/gtk/goto_dlg.c @@ -1,12 +1,11 @@ /* goto_dlg.c * Routines for "go to frame" window * - * $Id: goto_dlg.c,v 1.12 2001/01/04 04:54:14 gram Exp $ + * $Id: goto_dlg.c,v 1.13 2002/01/11 07:40:31 guy Exp $ * * Ethereal - Network traffic analyzer - * By Gerald Combs <gerald@zing.org> + * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs - * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -42,7 +41,6 @@ #include "globals.h" #include "goto_dlg.h" -#include "prefs_dlg.h" #include "simple_dialog.h" #include "dlg_utils.h" |