[nautilus/gnome-3-22] file-operations: take progress details string
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-22] file-operations: take progress details string
- Date: Wed, 4 Jan 2017 09:48:40 +0000 (UTC)
commit f4e1626b9f641badcd31c9dad77296bab12d1265
Author: Ernestas Kulik <ernestask src gnome org>
Date: Sun Nov 13 11:45:31 2016 +0200
file-operations: take progress details string
Progress info details are set instead of taken, resulting in a string
leak.
https://bugzilla.gnome.org/show_bug.cgi?id=774232
src/nautilus-file-operations.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-file-operations.c b/src/nautilus-file-operations.c
index 6b5a9a1..fd35faf 100644
--- a/src/nautilus-file-operations.c
+++ b/src/nautilus-file-operations.c
@@ -1836,7 +1836,7 @@ report_delete_progress (CommonJob *job,
source_info->num_files);
}
}
- nautilus_progress_info_set_details (job->progress, details);
+ nautilus_progress_info_take_details (job->progress, details);
if (elapsed > SECONDS_NEEDED_FOR_APROXIMATE_TRANSFER_RATE)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]