From b147295e08daab651630c2b64a6c0640a844ed7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Sat, 31 Aug 2002 14:22:11 +0000 Subject: Remove redundant HAVE_LIBPCAP check (copied from gtk2) svn path=/trunk/; revision=6158 --- gtk/capture_prefs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gtk/capture_prefs.c b/gtk/capture_prefs.c index c44640ed89..e90661337d 100644 --- a/gtk/capture_prefs.c +++ b/gtk/capture_prefs.c @@ -1,7 +1,7 @@ /* capture_prefs.c * Dialog box for capture preferences * - * $Id: capture_prefs.c,v 1.14 2002/08/28 21:03:46 jmayer Exp $ + * $Id: capture_prefs.c,v 1.15 2002/08/31 14:22:11 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -32,9 +32,7 @@ #include #include -#ifdef HAVE_LIBPCAP #include -#endif #include "globals.h" #include "capture_prefs.h" @@ -137,7 +135,6 @@ capture_prefs_fetch(GtkWidget *w) g_free(prefs.capture_device); prefs.capture_device = NULL; } - if_text = g_strdup(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(if_cb)->entry))); /* Strip out white space */ g_strstrip(if_text); -- cgit v1.2.3