summaryrefslogtreecommitdiffstats
path: root/src/spice-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spice-channel.c')
-rw-r--r--src/spice-channel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/spice-channel.c b/src/spice-channel.c
index 8ae0e4d..808b151 100644
--- a/src/spice-channel.c
+++ b/src/spice-channel.c
@@ -17,6 +17,8 @@
*/
#include "config.h"
+#include "gtask-helper.h"
+
#include "spice-client.h"
#include "spice-common.h"
@@ -2191,7 +2193,7 @@ static void spice_channel_flushed(SpiceChannel *channel, gboolean success)
GSList *l;
for (l = c->flushing; l != NULL; l = l->next) {
- g_task_return_boolean(G_TASK(l->data), success);
+ g_task_helper_return_boolean(G_TASK(l->data), success);
}
g_slist_free_full(c->flushing, g_object_unref);