aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-09-26 23:33:11 +0000
committerGerald Combs <gerald@wireshark.org>2012-09-26 23:33:11 +0000
commit998da54456f675fb7fad7d7ecd52fab4a12d16d8 (patch)
treed499748e4d57194bcdd2cf42e6f9c435648b2c8f /file.c
parentbf108e8d2355f74d6de00bc5f430867c01a75a47 (diff)
Add a cf_cb_file_opened callback and use it instead of calling
fileset_file_opened directly from file.c. This makes the code a bit more consistenent and makes it easier to port the File Set dialog to Qt. svn path=/trunk/; revision=45162
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index ced94b7d0b..c162d1f9c3 100644
--- a/file.c
+++ b/file.c
@@ -340,7 +340,7 @@ cf_open(capture_file *cf, const char *fname, gboolean is_tempfile, int *err)
cf_timestamp_auto_precision(cf);
/* XXX needed ? */
packet_list_queue_draw();
- fileset_file_opened(fname);
+ cf_callback_invoke(cf_cb_file_opened, cf);
if (cf->cd_t == WTAP_FILE_BER) {
/* tell the BER dissector the file name */