[libdazzle] file-transfer: fix progress callbacks
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] file-transfer: fix progress callbacks
- Date: Sun, 6 Jan 2019 00:35:50 +0000 (UTC)
commit 98f71b572fdf21ae735b3f3798dc7e27bf054efb
Author: Christian Hergert <chergert redhat com>
Date: Sat Jan 5 16:35:13 2019 -0800
file-transfer: fix progress callbacks
src/files/dzl-file-transfer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/files/dzl-file-transfer.c b/src/files/dzl-file-transfer.c
index 82cc0ec..bd04255 100644
--- a/src/files/dzl-file-transfer.c
+++ b/src/files/dzl-file-transfer.c
@@ -714,7 +714,7 @@ dzl_file_transfer_execute_async (DzlFileTransfer *self,
g_return_if_fail (DZL_IS_FILE_TRANSFER (self));
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
- task = g_task_new (self, cancellable, NULL, NULL);
+ task = g_task_new (self, cancellable, callback, user_data);
g_task_set_source_tag (task, dzl_file_transfer_execute);
if (priv->executed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]