diff options
-rw-r--r-- | thunar/thunar-folder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thunar/thunar-folder.c b/thunar/thunar-folder.c index 46fac6bb..e42fbe9c 100644 --- a/thunar/thunar-folder.c +++ b/thunar/thunar-folder.c @@ -876,7 +876,7 @@ thunar_folder_reload (ThunarFolder *folder) if (G_UNLIKELY (folder->task != NULL)) { /* stop the task */ - g_task_return_error_if_cancelled (folder->task); + thunar_tasks_cancel (folder->task); g_object_unref (folder->task); folder->task = NULL; } |