[gvfs] client: Fix typos in source tag checks
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] client: Fix typos in source tag checks
- Date: Mon, 16 Jan 2017 10:01:52 +0000 (UTC)
commit 7a8cf1243d479296d5d925fefd25e765c792560d
Author: Ondrej Holy <oholy redhat com>
Date: Mon Jan 16 09:09:15 2017 +0100
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
client/gdaemonfileinputstream.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/client/gdaemonfileinputstream.c b/client/gdaemonfileinputstream.c
index 84504e9..5128d4c 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]