summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2017-01-16 09:09:15 +0100
committerOndrej Holy <oholy@redhat.com>2017-01-16 09:09:15 +0100
commit7a8cf1243d479296d5d925fefd25e765c792560d (patch)
treed12ebdfdf4b2f1c876f4dff1ccbaafafa04d6bd5 /client
parentc6a3c83668fea1a9545e8e8991562d26ccd8e32e (diff)
downloadgvfs-7a8cf1243d479296d5d925fefd25e765c792560d.tar.gz
client: Fix typos in source tag checks
Commit 3a5f04c made port of GDaemonFileInputStream to GTask. Unfortunately, it introduced typos in two source tag checks, which causes read failures currently. https://bugzilla.gnome.org/show_bug.cgi?id=747412
Diffstat (limited to 'client')
-rw-r--r--client/gdaemonfileinputstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/gdaemonfileinputstream.c b/client/gdaemonfileinputstream.c
index 84504e91..5128d4ca 100644
--- a/client/gdaemonfileinputstream.c
+++ b/client/gdaemonfileinputstream.c
@@ -1877,7 +1877,7 @@ g_daemon_file_input_stream_read_finish (GInputStream *stream,
GError **error)
{
g_return_val_if_fail (g_task_is_valid (result, stream), -1);
- g_return_val_if_fail (g_async_result_is_tagged (result, g_daemon_file_input_stream_read_finish), -1);
+ g_return_val_if_fail (g_async_result_is_tagged (result, g_daemon_file_input_stream_read_async), -1);
return g_task_propagate_int (G_TASK (result), error);
}
@@ -1967,7 +1967,7 @@ g_daemon_file_input_stream_close_finish (GInputStream *stream,
GError **error)
{
g_return_val_if_fail (g_task_is_valid (result, stream), FALSE);
- g_return_val_if_fail (g_async_result_is_tagged (result, g_daemon_file_input_stream_close_finish), FALSE);
+ g_return_val_if_fail (g_async_result_is_tagged (result, g_daemon_file_input_stream_close_async), FALSE);
return g_task_propagate_boolean (G_TASK (result), error);
}