aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-04-09 13:31:15 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-04-09 13:31:15 +0000
commitf6db444c2afb11f7c8d855d7d630f0b572224955 (patch)
tree0cbfebb721480e660a2347afbd409769a3d6d624
parent5ccc874dbedb74b791274c811d9b518bafc89a52 (diff)
Removed 2 blocks of code that if #ifdef'ed out. They're just not needed.
svn path=/trunk/; revision=244
-rw-r--r--ethereal.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/ethereal.c b/ethereal.c
index a5f699f2dc..4da5f691e7 100644
--- a/ethereal.c
+++ b/ethereal.c
@@ -1,6 +1,6 @@
/* ethereal.c
*
- * $Id: ethereal.c,v 1.30 1999/04/06 16:35:46 gram Exp $
+ * $Id: ethereal.c,v 1.31 1999/04/09 13:31:15 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -131,23 +131,11 @@ void
file_sel_ok_cb(GtkWidget *w, GtkFileSelection *fs) {
gchar *cf_name;
int err;
-#if 0
- GtkWidget *filter_te = NULL;
- /* Gilbert --- I added this if statement. Is this right? */
- if (w)
- filter_te = gtk_object_get_data(GTK_OBJECT(w), E_DFILTER_TE_KEY);
-#endif
cf_name = g_strdup(gtk_file_selection_get_filename(GTK_FILE_SELECTION (fs)));
gtk_widget_hide(GTK_WIDGET (fs));
gtk_widget_destroy(GTK_WIDGET (fs));
-#if 0
- if (w && cf.dfilter) {
- g_free(cf.dfilter);
- cf.dfilter = g_strdup(gtk_entry_get_text(GTK_ENTRY(filter_te)));
- }
-#endif
/* this depends upon load_cap_file removing the filename from
* cf_name, leaving only the path to the directory. */
if ((err = load_cap_file(cf_name, &cf)) == 0)