[wing/wip/poll-stream] more fixes



commit b21b017785172dcbc01a4e0bbbb9b2b0382224b6
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Fri Nov 30 10:55:37 2018 +0100

    more fixes

 wing/wingoutputstream.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wing/wingoutputstream.c b/wing/wingoutputstream.c
index f1534f5..7db754e 100644
--- a/wing/wingoutputstream.c
+++ b/wing/wingoutputstream.c
@@ -180,7 +180,7 @@ wing_output_stream_write (GOutputStream  *stream,
           emsg = g_win32_error_message (errsv);
           g_set_error (error, G_IO_ERROR,
                        g_io_error_from_win32_error (errsv),
-                       _("Error writing to handle: %s"),
+                       "Error writing to handle: %s",
                        emsg);
           g_free (emsg);
         }
@@ -309,7 +309,7 @@ wing_output_stream_write_async (GOutputStream            *stream,
 
   emsg = g_win32_error_message (errsv);
   g_task_report_new_error (stream, callback, user_data,
-                           wing_input_stream_read_async,
+                           wing_input_stream_write_async,
                            G_IO_ERROR, g_io_error_from_win32_error (errsv),
                            "Error writing to handle: %s",
                            emsg);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]