Wireshark-commits: [Wireshark-commits] master 77cad85: Move the filter file reading code to libui.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 9 Apr 2017 04:26:23 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=77cad8561cec1699d7a4317e34c5590d566c9eb8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

77cad85 by Guy Harris (guy@xxxxxxxxxxxx):

    Move the filter file reading code to libui.
    
    It doesn't belong in libwireshark, as it doesn't affect dissection, but
    it *does* belong in libui, as it's helper code for the UIs.
    
    Change-Id: I8a5e0640a299a08e9ec1917dd253197438ebfdbc
    Reviewed-on: https://code.wireshark.org/review/20974
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  62b3424   Pull the error-reporting code for preference files into read_prefs().
    adds  77cad85   Move the filter file reading code to libui.


Summary of changes:
 CMakeLists.txt                      |    5 +----
 Makefile.am                         |    6 +-----
 capture_opts.c                      |    2 +-
 sharkd.c                            |    2 +-
 tshark.c                            |    2 +-
 ui/CMakeLists.txt                   |    1 +
 ui/Makefile.am                      |    2 ++
 filter_files.c => ui/filter_files.c |    4 ++--
 filter_files.h => ui/filter_files.h |    2 +-
 ui/gtk/filter_dlg.c                 |    2 +-
 ui/gtk/main.c                       |    2 +-
 ui/qt/capture_filter_edit.cpp       |    2 +-
 ui/qt/display_filter_edit.cpp       |    2 +-
 ui/qt/field_filter_edit.cpp         |    2 +-
 ui/qt/filter_dialog.cpp             |    2 +-
 ui/qt/wireshark_application.cpp     |    2 +-
 16 files changed, 18 insertions(+), 22 deletions(-)
 rename filter_files.c => ui/filter_files.c (99%)
 rename filter_files.h => ui/filter_files.h (99%)