diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-04 07:23:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-04 07:23:47 +0000 |
commit | 9426c4ad15826cee237cc1f822c8a758d01473f6 (patch) | |
tree | 76525a05f13c521f521027a8ab3c6042f86e20c6 | |
parent | 712f266e69039b1b462a0b73535e751802a4acc7 (diff) | |
download | wireshark-9426c4ad15826cee237cc1f822c8a758d01473f6.tar.gz |
From Thomas Wittwer: remove unnecessary calls to
"prefs_module_foreach()".
svn path=/trunk/; revision=4321
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | gtk/prefs_dlg.c | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -804,6 +804,7 @@ Jean-Francois Mule <jfmule[AT]clarent.com> { Thomas Wittwer <thomas.wittwer[AT]iclip.ch> { HTTP dissector registered by name "prefs_register_string_preference()" made available to plugins + Remove unnecessary calls to "prefs_module_foreach()" } Palle Lyckegaard <Palle[AT]lyckegaard.dk> { diff --git a/gtk/prefs_dlg.c b/gtk/prefs_dlg.c index ddad06f934..093d7f7009 100644 --- a/gtk/prefs_dlg.c +++ b/gtk/prefs_dlg.c @@ -1,7 +1,7 @@ /* prefs_dlg.c * Routines for handling preferences * - * $Id: prefs_dlg.c,v 1.33 2001/11/04 02:50:21 guy Exp $ + * $Id: prefs_dlg.c,v 1.34 2001/12/04 07:23:47 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -640,7 +640,6 @@ prefs_main_apply_cb(GtkWidget *apply_bt, gpointer parent_w) column_prefs_apply(gtk_object_get_data(GTK_OBJECT(parent_w), E_COLUMN_PAGE_KEY)); stream_prefs_apply(gtk_object_get_data(GTK_OBJECT(parent_w), E_STREAM_PAGE_KEY)); gui_prefs_apply(gtk_object_get_data(GTK_OBJECT(parent_w), E_GUI_PAGE_KEY)); - prefs_module_foreach(module_prefs_fetch, &must_redissect); prefs_apply_all(); if (must_redissect) { @@ -701,7 +700,6 @@ prefs_main_save_cb(GtkWidget *save_bt, gpointer parent_w) column_prefs_apply(gtk_object_get_data(GTK_OBJECT(parent_w), E_COLUMN_PAGE_KEY)); stream_prefs_apply(gtk_object_get_data(GTK_OBJECT(parent_w), E_STREAM_PAGE_KEY)); gui_prefs_apply(gtk_object_get_data(GTK_OBJECT(parent_w), E_GUI_PAGE_KEY)); - prefs_module_foreach(module_prefs_fetch, &must_redissect); prefs_apply_all(); if (must_redissect) { |