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/prefs_dlg.h | |
parent | e592fa4a6bdf6342a790f488596c73d2332c9d27 (diff) |
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/prefs_dlg.h')
-rw-r--r-- | gtk/prefs_dlg.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/prefs_dlg.h b/gtk/prefs_dlg.h index 44a7fb45f9..bc7a316e98 100644 --- a/gtk/prefs_dlg.h +++ b/gtk/prefs_dlg.h @@ -1,12 +1,11 @@ /* prefs_dlg.h * Definitions for preference handling routines * - * $Id: prefs_dlg.h,v 1.5 2000/08/15 20:41:59 deniel Exp $ + * $Id: prefs_dlg.h,v 1.6 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 @@ -26,8 +25,6 @@ #ifndef __PREFS_DLG_H__ #define __PREFS_DLG_H__ -#include "prefs.h" - void prefs_cb(GtkWidget *, gpointer); void properties_cb(GtkWidget *, gpointer); |