aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/recent.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-08-18 23:00:42 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-08-18 23:00:42 +0000
commita47a4a52424356dbd1af10a8ca7a9f50e3c4f366 (patch)
treeaede65cc3153be9fcaf07ab43d02a244ccae0bb8 /gtk/recent.c
parente2c8640c8d254cb890166c191cf94c7b2cd60988 (diff)
Add new_packet_list_recent_write_all().
svn path=/trunk/; revision=29469
Diffstat (limited to 'gtk/recent.c')
-rw-r--r--gtk/recent.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/recent.c b/gtk/recent.c
index 924a02b5e5..3c329e625b 100644
--- a/gtk/recent.c
+++ b/gtk/recent.c
@@ -46,7 +46,11 @@
#include "gtk/main.h"
#include "gtk/menus.h"
#include "gtk/gui_utils.h"
+#ifdef NEW_PACKET_LIST
+#include "gtk/new_packet_list.h"
+#else
#include "gtk/main_packet_list.h"
+#endif /*NEW_PACKET_LIST */
#include "gtk/file_dlg.h"
#include "gtk/cfilter_combo_utils.h"
#include "gtk/u3.h"
@@ -373,7 +377,9 @@ write_profile_recent(void)
fprintf(rf, "\n# Packet list column pixel widths.\n");
fprintf(rf, "# Each pair of strings consists of a column format and its pixel width.\n");
-#ifndef NEW_PACKET_LIST
+#ifdef NEW_PACKET_LIST
+ new_packet_list_recent_write_all(rf);
+#else
packet_list_recent_write_all(rf);
#endif