aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs-int.h
diff options
context:
space:
mode:
authorkukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-30 09:22:01 +0000
committerkukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-30 09:22:01 +0000
commit3c43e1e4b8d28081408c0a032221bb07cfd3e24a (patch)
tree65a591e9dbfc197689d57a175eb0ed43f89cb990 /epan/prefs-int.h
parent28941b75e173f2c69b9ffdfd379bf8817f2b79e9 (diff)
Next few improvements to speed up startup about 10%.
- use GTree instead of GList for preference module lists git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23679 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/prefs-int.h')
-rw-r--r--epan/prefs-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/prefs-int.h b/epan/prefs-int.h
index 7603049fc7..8ab014a5ff 100644
--- a/epan/prefs-int.h
+++ b/epan/prefs-int.h
@@ -32,7 +32,7 @@ struct pref_module {
const char *description;/* Description of module (displayed in preferences notebook) */
void (*apply_cb)(void); /* routine to call when preferences applied */
GList *prefs; /* list of its preferences */
- GList *submodules; /* list of its submodules */
+ GTree *submodules; /* list of its submodules */
int numprefs; /* number of non-obsolete preferences */
gboolean prefs_changed; /* if TRUE, a preference has changed since we last checked */
gboolean obsolete; /* if TRUE, this is a module that used to