summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file-operations.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-03-03 13:51:41 +0100
committerStefano Karapetsas <[email protected]>2013-03-03 13:51:41 +0100
commitc1d965ceb53bc91e47b4b944a0c7864ef7cded21 (patch)
tree5aa15249636ea80b6fa313dd8d62bf3d4875fbd7 /libcaja-private/caja-file-operations.c
parent25a08e37283fc4c0b4689a3da791a7ad5e23a690 (diff)
downloadcaja-c1d965ceb53bc91e47b4b944a0c7864ef7cded21.tar.bz2
caja-c1d965ceb53bc91e47b4b944a0c7864ef7cded21.tar.xz
Replace undocumented deprecated g_thread_gettime
Bump minimum glib version accordingly
Diffstat (limited to 'libcaja-private/caja-file-operations.c')
-rw-r--r--libcaja-private/caja-file-operations.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c
index f9f8739a..99fbe89f 100644
--- a/libcaja-private/caja-file-operations.c
+++ b/libcaja-private/caja-file-operations.c
@@ -1411,7 +1411,7 @@ report_delete_progress (CommonJob *job,
guint64 now;
char *files_left_s;
- now = g_thread_gettime ();
+ now = g_get_monotonic_time () * 1000;
if (transfer_info->last_report_time != 0 &&
ABS ((gint64)(transfer_info->last_report_time - now)) < 100 * NSEC_PER_MSEC) {
return;
@@ -2881,7 +2881,7 @@ report_copy_progress (CopyMoveJob *copy_job,
is_move = copy_job->is_move;
- now = g_thread_gettime ();
+ now = g_get_monotonic_time () * 1000;
if (transfer_info->last_report_time != 0 &&
ABS ((gint64)(transfer_info->last_report_time - now)) < 100 * NSEC_PER_MSEC) {