[nautilus] progress-info: fix total elapsed time thinko
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] progress-info: fix total elapsed time thinko
- Date: Thu, 15 Oct 2015 17:12:50 +0000 (UTC)
commit 897a31f3694e031c5fd136791c3d59c06f25b621
Author: Carlos Soriano <csoriano gnome org>
Date: Thu Oct 15 11:30:13 2015 +0200
progress-info: fix total elapsed time thinko
libnautilus-private/nautilus-progress-info.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-progress-info.c b/libnautilus-private/nautilus-progress-info.c
index ee8aa3f..a554b5b 100644
--- a/libnautilus-private/nautilus-progress-info.c
+++ b/libnautilus-private/nautilus-progress-info.c
@@ -707,8 +707,7 @@ nautilus_progress_info_get_total_elapsed_time (NautilusProgressInfo *info)
gdouble elapsed_time;
G_LOCK (progress_info);
- elapsed_time = info->elapsed_time + g_timer_elapsed (info->progress_timer,
- NULL);
+ elapsed_time = g_timer_elapsed (info->progress_timer, NULL);
G_UNLOCK (progress_info);
return elapsed_time;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]