aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_file_dlg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/capture_file_dlg.c')
-rw-r--r--gtk/capture_file_dlg.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gtk/capture_file_dlg.c b/gtk/capture_file_dlg.c
index 2c9099c4dc..d423efa499 100644
--- a/gtk/capture_file_dlg.c
+++ b/gtk/capture_file_dlg.c
@@ -61,9 +61,7 @@
#include "gtk/menus.h"
#include "gtk/recent.h"
#include "gtk/color_dlg.h"
-#ifdef NEW_PACKET_LIST
#include "gtk/new_packet_list.h"
-#endif
#ifdef HAVE_LIBPCAP
#include "gtk/capture_dlg.h"
#endif
@@ -726,9 +724,6 @@ file_open_ok_cb(GtkWidget *w, gpointer fs) {
"get_dirname()" does write over its argument. */
s = get_dirname(cf_name);
set_last_open_dir(s);
-#ifndef NEW_PACKET_LIST
- gtk_widget_grab_focus(packet_list);
-#endif
g_free(cf_name);
}
@@ -754,13 +749,8 @@ file_merge_cmd(GtkWidget *w)
{
#if _WIN32
win32_merge_file(GDK_WINDOW_HWND(top_level->window));
-#ifdef NEW_PACKET_LIST
new_packet_list_freeze();
new_packet_list_thaw();
-#else
- packet_list_freeze();
- packet_list_thaw();
-#endif /* NEW_PACKET_LIST */
#else /* _WIN32 */
GtkWidget *main_hb, *main_vb, *ft_hb, *ft_lb, *ft_combo_box, *filter_hbox,
*filter_bt, *filter_te, *prepend_rb, *chrono_rb,
@@ -1096,9 +1086,6 @@ file_merge_ok_cb(GtkWidget *w, gpointer fs) {
"get_dirname()" does write over its argument. */
s = get_dirname(tmpname);
set_last_open_dir(s);
-#ifndef NEW_PACKET_LIST
- gtk_widget_grab_focus(packet_list);
-#endif
}
static void
@@ -1654,9 +1641,6 @@ file_color_import_ok_cb(GtkWidget *w, gpointer color_filters) {
"get_dirname()" does write over its argument. */
s = get_dirname(cf_name);
set_last_open_dir(s);
-#ifndef NEW_PACKET_LIST
- gtk_widget_grab_focus(packet_list);
-#endif
g_free(cf_name);
}