Wireshark-commits: [Wireshark-commits] master 6658f97: file: remove use of g_get_current_time
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 17 Jul 2019 06:25:34 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6658f97a59697818ececde5f5d002bc6c9ce7bc3
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

6658f97 by Peter Wu (peter@xxxxxxxxxxxxx):

    file: remove use of g_get_current_time
    
    Replace g_get_current_time by g_get_monotonic_time (since GLib 2.28, we
    require 2.32) to simplify code and ignore time jumps. Qt does not need
    the elapsed time, so remove the parameter from the progress callback.
    
    Change-Id: Icaad4b909b9cb4bb07d28fcdf3d383d64aa00127
    Reviewed-on: https://code.wireshark.org/review/33975
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  c914da2   Don't just grab raw string data with tvb_memcpy().
     add  6658f97   file: remove use of g_get_current_time


Summary of changes:
 file.c                   | 57 +++++++++++++++---------------------------------
 ui/progress_dlg.h        |  5 +----
 ui/proto_hier_stats.c    |  4 +---
 ui/qt/progress_frame.cpp |  2 +-
 4 files changed, 21 insertions(+), 47 deletions(-)