diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-09-26 23:33:11 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-09-26 23:33:11 +0000 |
commit | 998da54456f675fb7fad7d7ecd52fab4a12d16d8 (patch) | |
tree | d499748e4d57194bcdd2cf42e6f9c435648b2c8f /file.c | |
parent | bf108e8d2355f74d6de00bc5f430867c01a75a47 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |