From 69e94faff889d3e99696a089d357b86fd8cd0b3f Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Fri, 4 Feb 2005 19:29:27 +0000 Subject: remove #include "globals.h" from summary.c, as it's a bad idea for multiple capture files. If a summary user would like to get a summary, it should know the file of *which* it needs the summary. svn path=/trunk/; revision=13291 --- gtk/summary_dlg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk/summary_dlg.c') diff --git a/gtk/summary_dlg.c b/gtk/summary_dlg.c index 7c88be31cc..c99e034241 100644 --- a/gtk/summary_dlg.c +++ b/gtk/summary_dlg.c @@ -33,6 +33,8 @@ #include #include +#include "globals.h" +#include "file.h" #include "summary.h" #include "summary_dlg.h" #include "dlg_utils.h" @@ -108,7 +110,7 @@ summary_open_cb(GtkWidget *w _U_, gpointer d _U_) unsigned int elapsed_time; /* initial computations */ - summary_fill_in(&summary); + summary_fill_in(&cfile, &summary); seconds = summary.stop_time - summary.start_time; disp_seconds = summary.filtered_stop - summary.filtered_start; -- cgit v1.2.3